matlab解方程组solvesyms st4 st5 st7 x y zst6=0;frw =[-177633/15625*st5^2/pi^2+59211/50000*st5/pi+2193/100+799/25*cos(st4)*sin(st5)+3383/100*(cos(st4)*cos(st5)*cos(st6)-sin(st4)*sin(st6))*sin(st7)+3383/100*cos(st4)*sin(st5)*cos(st7)799/25*sin(st4)

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 09:52:22
matlab解方程组solvesymsst4st5st7xyzst6=0;frw=[-177633/15625*st5^2/pi^2+59211/50000*st5/pi+2193/100+799/2

matlab解方程组solvesyms st4 st5 st7 x y zst6=0;frw =[-177633/15625*st5^2/pi^2+59211/50000*st5/pi+2193/100+799/25*cos(st4)*sin(st5)+3383/100*(cos(st4)*cos(st5)*cos(st6)-sin(st4)*sin(st6))*sin(st7)+3383/100*cos(st4)*sin(st5)*cos(st7)799/25*sin(st4)
matlab解方程组solve
syms st4 st5 st7 x y z
st6=0;
frw =[-177633/15625*st5^2/pi^2+59211/50000*st5/pi+2193/100+799/25*cos(st4)*sin(st5)+3383/100*(cos(st4)*cos(st5)*cos(st6)-sin(st4)*sin(st6))*sin(st7)+3383/100*cos(st4)*sin(st5)*cos(st7)
799/25*sin(st4)*sin(st5)+3383/100*(sin(st4)*cos(st5)*cos(st6)+cos(st4)*sin(st6))*sin(st7)+3383/100*sin(st4)*sin(st5)*cos(st7)
-799/25*cos(st5)+3383/100*sin(st5)*cos(st6)*sin(st7)-3383/100*cos(st5)*cos(st7)];
[st4 st5 st7]=solve(frw(1)-x,frw(2)-y,frw(3)-z)
怎么接不出来呢,

matlab解方程组solvesyms st4 st5 st7 x y zst6=0;frw =[-177633/15625*st5^2/pi^2+59211/50000*st5/pi+2193/100+799/25*cos(st4)*sin(st5)+3383/100*(cos(st4)*cos(st5)*cos(st6)-sin(st4)*sin(st6))*sin(st7)+3383/100*cos(st4)*sin(st5)*cos(st7)799/25*sin(st4)
其实多项式函数和指数函数在精度方面差异很大,而solve一般都是获取比较精确的解(计算机总存在精度问题).我运行了一下,感觉这道题应该是无解,我用你的