作业帮 > 综合 > 作业

多元线性方程的求解 Matlab

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/16 14:01:03
多元线性方程的求解 Matlab
程序如下,但一直无法得到结果.对于下面这个方程,解应该是[0,0,0]
Warning:Explicit solution could not be found.
> In solve at 81
In solve_diff at 11
Comma separated list expansion has cell syntax for an array that
is not a cell.
Error in ==> sym.sym>sym.subsref at 1379
[inds{k},refs{k}] = privformat(inds{k});
Error in ==> solve_diff at 12
s.a1,s.a2,s.a3
多元线性方程的求解 Matlab
s=solve('c1=0','c2=0','c3=0','a1','a2','a3');
改为
s=solve(c1,c2,c3,'a1','a2','a3')