Inner matrix dimensions must agree.

Inner matrix dimensions must agree.

题目
Inner matrix dimensions must agree.
l1=36.5;
l2=136.5;
l3=100;
l4=173;
syms y a b q o h
o=0:1:360;
y=sqrt(l1^2+(l2-l1+l3)^2+2*l1*(l2-l1+l3)*cos(o));
a=asin(sin(o).*l1*y.^-1);
b=acos((y.^2+l3^2-l2^2).*(2*y*l3).^-1);
q=b-a;
h=l3+l4-l3*cos(60-q)-sqrt(l4^2-(l3.*sin(60-q)).^2);
plot(o,h)
答案
矩阵计算维数不相容.
a=asin(sin(o).*l1.*y.^-1); %%(在乘号之间加了点)
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
热门考点

超级试练试题库

© 2017-2019 超级试练试题库,All Rights Reserved.