作业帮 > 综合 > 作业

多元线性方程的求解 Matlab

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/04/30 06:32:17
多元线性方程的求解 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
s=solve('c1=0','c2=0','c3=0','a1','a2','a3');
改为
s=solve(c1,c2,c3,'a1','a2','a3')