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 ==> mupadmex ) }: l- i Y+ m; K9 FError in MuPAD command: not a square matrix [(Dom::Matrix(Dom::ExpressionField()))::_power]5 u- q; ?; n* K- V" I' R
" X5 B1 t" |0 s5 TError in ==> sym.sym>sym.mpower at 198/ N8 _$ e' m3 O5 `* G3 y5 h
B = mupadmex('mllib::mpower',A.s,p.s); 9 s' Q( {+ O) P* t2 a/ r & ^& _0 T% M/ P1 c/ L; S这是为什么呢?多谢了