matlab中不是不用定义变量吗?但为啥有在求方程组解时,需要>> syms x y >> [x,y]=solve(x^2+y-6,y^2+x-6),而不是直接用>> [x,y]=solve(x^2+y-6,y^2+x-6),就行了呢?不用syms x y的话,会提示:??? Error using ==> mupadmex6 u" j/ Y. G/ x6 W3 }# i, f
Error in MuPAD command: not a square matrix [(Dom::Matrix(Dom::ExpressionField()))::_power] 3 P q9 B3 z$ K/ n9 B+ z/ V0 R. h3 m* d/ L" i1 l/ t7 Q
Error in ==> sym.sym>sym.mpower at 198. v, p" w9 f# w" l
B = mupadmex('mllib::mpower',A.s,p.s); ' V( Z8 s+ v; y+ D" [/ ~$ w& ~$ S r; W- E6 \" Z" I" s: h1 y
这是为什么呢?多谢了