Matlab syms a b c x1 x2 x3 x4 x5 y1 y2 y3 y4 y5 z1 z2[a,b,c,x1,x2,x3,x4,x5,y1,y2,y3,y4,y5,z1,z2]=solve('z1cos(a+b*1.867-c)=x1','z2cos(a+b*1.867-c)=y1','x1+y1=0.22','z1cos(a+b*9.15-c)=x2','z2cos(a+b*9.15-c)=y2','x2+y2=-0.284','z1cos(a+b*16.37-c)=x3','
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/18 02:43:30
Matlab syms a b c x1 x2 x3 x4 x5 y1 y2 y3 y4 y5 z1 z2[a,b,c,x1,x2,x3,x4,x5,y1,y2,y3,y4,y5,z1,z2]=solve('z1cos(a+b*1.867-c)=x1','z2cos(a+b*1.867-c)=y1','x1+y1=0.22','z1cos(a+b*9.15-c)=x2','z2cos(a+b*9.15-c)=y2','x2+y2=-0.284','z1cos(a+b*16.37-c)=x3','
Matlab
syms a b c x1 x2 x3 x4 x5 y1 y2 y3 y4 y5 z1 z2
[a,b,c,x1,x2,x3,x4,x5,y1,y2,y3,y4,y5,z1,z2]=solve('z1cos(a+b*1.867-c)=x1','z2cos(a+b*1.867-c)=y1','x1+y1=0.22','z1cos(a+b*9.15-c)=x2','z2cos(a+b*9.15-c)=y2','x2+y2=-0.284','z1cos(a+b*16.37-c)=x3','z2cos(a+b*16.37-c)=y3','x3+y3=0.27','z1cos(a+b*22.4-c)=x4','z2cos(a+b*22.4-c)=y4','x4+y4=-0.18','z1cos(a+b*26.8-c)=x5','z2cos(a+b*26.8-c)=y5','x5+y5=0.11')
以上是Matlab程序,为什么说我
Warning:15 equations in 13 variables.
> In solve at 113
Warning:Warning,solutions may have been lost
Warning:Explicit solution could not be found.
> In solve at 140
错在哪?急
Matlab syms a b c x1 x2 x3 x4 x5 y1 y2 y3 y4 y5 z1 z2[a,b,c,x1,x2,x3,x4,x5,y1,y2,y3,y4,y5,z1,z2]=solve('z1cos(a+b*1.867-c)=x1','z2cos(a+b*1.867-c)=y1','x1+y1=0.22','z1cos(a+b*9.15-c)=x2','z2cos(a+b*9.15-c)=y2','x2+y2=-0.284','z1cos(a+b*16.37-c)=x3','
乘号都不加,不出错才怪