matlab 数值解法 提示出is not a valid expression or equation.syms x y z m;[x,y,z,m]=solve('-1.18x+2.10y-0.13-0.15m+0.12=0','-2.3x+1.53y+0.77z+0.04m-0.04=0','-0.9x+1.12y+0.57z-0.136m+0.17=0','x^2+y^2+z^2-0.22m^2-4.60x-3.06z+0.33m+7.55=0');
来源:学生作业帮助网 编辑:作业帮 时间:2024/12/04 03:16:23
matlab 数值解法 提示出is not a valid expression or equation.syms x y z m;[x,y,z,m]=solve('-1.18x+2.10y-0.13-0.15m+0.12=0','-2.3x+1.53y+0.77z+0.04m-0.04=0','-0.9x+1.12y+0.57z-0.136m+0.17=0','x^2+y^2+z^2-0.22m^2-4.60x-3.06z+0.33m+7.55=0');
matlab 数值解法 提示出is not a valid expression or equation.
syms x y z m;
[x,y,z,m]=solve('-1.18x+2.10y-0.13-0.15m+0.12=0','-2.3x+1.53y+0.77z+0.04m-0.04=0','-0.9x+1.12y+0.57z-0.136m+0.17=0','x^2+y^2+z^2-0.22m^2-4.60x-3.06z+0.33m+7.55=0');
matlab 数值解法 提示出is not a valid expression or equation.syms x y z m;[x,y,z,m]=solve('-1.18x+2.10y-0.13-0.15m+0.12=0','-2.3x+1.53y+0.77z+0.04m-0.04=0','-0.9x+1.12y+0.57z-0.136m+0.17=0','x^2+y^2+z^2-0.22m^2-4.60x-3.06z+0.33m+7.55=0');
[x,y,z,m] = solve('-1.18*x+2.10*y-0.13-0.15*m+0.12=0','-2.3*x+1.53*y+0.77*z+0.04*m-0.04=0','-0.9*x+1.12*y+0.57*z-0.136*m+0.17=0','x^2+y^2+z^2-0.22*m^2-4.60*x-3.06*z+0.33*m+7.55=0')
修改如上
matlab中乘号不能省略