下面这个该怎么写啊,a4=(-sin(s2)*l2*w2.^2.*sin(s1)-l3*w3.^2.*sin(s2).^2+sin(s2)*l4*w4.^2.*sin(s31)-cos(s2)*l2*w2.^2.*cos(s1)-l3*w3.^2.*cos(s2).^2+cos(s2)*l4*w4.^2.*cos(s31))/l4./(sin(s2)*cos(s31)-cos(s2)*sin(s31))Error using ==> mtimesInner m

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 21:42:11
下面这个该怎么写啊,a4=(-sin(s2)*l2*w2.^2.*sin(s1)-l3*w3.^2.*sin(s2).^2+sin(s2)*l4*w4.^2.*sin(s31)-cos(s2)*l2*

下面这个该怎么写啊,a4=(-sin(s2)*l2*w2.^2.*sin(s1)-l3*w3.^2.*sin(s2).^2+sin(s2)*l4*w4.^2.*sin(s31)-cos(s2)*l2*w2.^2.*cos(s1)-l3*w3.^2.*cos(s2).^2+cos(s2)*l4*w4.^2.*cos(s31))/l4./(sin(s2)*cos(s31)-cos(s2)*sin(s31))Error using ==> mtimesInner m
下面这个该怎么写啊,
a4=(-sin(s2)*l2*w2.^2.*sin(s1)-l3*w3.^2.*sin(s2).^2+sin(s2)*l4*w4.^2.*sin(s31)-cos(s2)*l2*w2.^2.*cos(s1)-l3*w3.^2.*cos(s2).^2+cos(s2)*l4*w4.^2.*cos(s31))/l4./(sin(s2)*cos(s31)-cos(s2)*sin(s31))
Error using ==> mtimes
Inner matrix dimensions must agree.

下面这个该怎么写啊,a4=(-sin(s2)*l2*w2.^2.*sin(s1)-l3*w3.^2.*sin(s2).^2+sin(s2)*l4*w4.^2.*sin(s31)-cos(s2)*l2*w2.^2.*cos(s1)-l3*w3.^2.*cos(s2).^2+cos(s2)*l4*w4.^2.*cos(s31))/l4./(sin(s2)*cos(s31)-cos(s2)*sin(s31))Error using ==> mtimesInner m
天书啊!

同感啊╮(╯▽╰)╭