作业帮 > 综合 > 作业

matlab 求det(p*i-F)

来源:学生作业帮 编辑:神马作文网作业帮 分类:综合作业 时间:2024/11/19 02:07:01
matlab 求det(p*i-F)
clear
syms j1 j2 j3 k1 k2 k3 c g1 g2 g3 p
b=[p^2+c/j2 g3*c-g2*p+c*p c/j2-(g2/j2)-g3*p;(-1+k2/j1)*p-k3/j1*j2 p^2+g1*p+(k1/j1)*p-k3*g3/j1 p/j2+g1/j2+k1/j1*j2+g3+g3*k2/j1; 1+k2/j1*c-k3/j1*p k3*g2/j1-k3*c/j1-c*p-c*g1-k1*c/j1 p^2+g1*p+k1/j1*p-g3+g2*k2/j1+(c+k2*c/j1);]
c=[p+g1+k1/j1 1+k2/j1 k3/j1;g2-c p c;g3 -1/j2 p;]
d=[k1/j1 k2/j1 k3/j1]
e=[-g1;-g2;-g3;]
D=b*1/c
E=d*D
F=E*e
i=[1 0 0;0 1 0;0 0 1]
det(p*i-F)
clear
syms j1 j2 j3 k1 k2 k3 c g1 g2 g3 p
b=[p^2+c/j2 (-1+k2)/j1*p-k3/(j1*j2) ((1+k2)/j1)*c-(k3/j1)*p;g3*c-g2*p+c*p p^2+g1*p+k1/j1*p-k3*g3/j1 k3*g2/j1-k3*c/j1-c*p-c*g1-k1*c/j1;c/j2-g2/j2-g3*p (p/j2)+(g1/j2)+k1/(j1*j2)+(g3+g3*k2)/j1 p^2+g1*p+k1/j1*p-(g2+g2*k2)/j1+(c+k2*c)/j1;]
c=[p+g1+k1/j1 (1+k2)/j1 k3/j1;g2-c p c;g3 -1/j2 p;]
d=[k1/j1 k2/j1 k3/j1]
e=[-g1;-g2;-g3;]
D=b*1/c
E=d*D
F=E*e
i=[1 0 0;0 1 0;0 0 1]
G=det(p*i)-det(F)
matlab 求det(p*i-F)
det(p*i-F)的结果见附件G=det(p*i)-det(F)的结果见附件
再问: 您好,谢谢你,请问最后结果很长,能不能简化一下啊。
再答: 已经简化了
再问: 好的谢谢您,再帮我算最后一个,私信发给你了。谢谢,结果要简化的,