用matlab 中solve求解线性方程组,求大神帮帮,谢谢啦。。。
symss3,x3,x4,se;[s3,x3,x4,se]=solve('s3*cos(x3)=0.125*cos(0.174)','s3*sin(x3)=0.275+0...
syms s3,x3,x4,se;
[s3,x3,x4,se]=solve('s3*cos(x3)=0.125*cos(0.174)','s3*sin(x3)=0.275+0.125*sin(0.174)','0.6*cos(x3)+0.15*cos(x4)-se=0','0.6*sin(x3)+0.15*sin(x4)=0.3')
结果出现:
s3 =
z2
z2
x3 =
(3*cos(z3))/5 + (3*cos(z4))/20
(3*cos(z3))/5 + (3*cos(z4))/20
x4 =
z3
z3
se =
z4
为何呢?应该为数字吧。。。 展开
[s3,x3,x4,se]=solve('s3*cos(x3)=0.125*cos(0.174)','s3*sin(x3)=0.275+0.125*sin(0.174)','0.6*cos(x3)+0.15*cos(x4)-se=0','0.6*sin(x3)+0.15*sin(x4)=0.3')
结果出现:
s3 =
z2
z2
x3 =
(3*cos(z3))/5 + (3*cos(z4))/20
(3*cos(z3))/5 + (3*cos(z4))/20
x4 =
z3
z3
se =
z4
为何呢?应该为数字吧。。。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询