matlab 求积分报错syms m b a ky=((2*m*(0.15*tan(b)+a)^2/((15-100/39.27^2)*((k(1)+k(2))*(0.15*tan(b)-l*sin(b))/(m*(0.15*tan(b)*sin(b)+a)))^0.5 )))*((k(1)+k(2))*(0.15*(sec(b))^2-l*cos(b))*(0.15*tan(b)*sin(b)+a)-0.15*(0.15*tan(b)-l*sin(b))*((sec(b))
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/08 15:07:25
matlab 求积分报错syms m b a ky=((2*m*(0.15*tan(b)+a)^2/((15-100/39.27^2)*((k(1)+k(2))*(0.15*tan(b)-l*sin(b))/(m*(0.15*tan(b)*sin(b)+a)))^0.5 )))*((k(1)+k(2))*(0.15*(sec(b))^2-l*cos(b))*(0.15*tan(b)*sin(b)+a)-0.15*(0.15*tan(b)-l*sin(b))*((sec(b))
matlab 求积分报错
syms m b a k
y=((2*m*(0.15*tan(b)+a)^2/((15-100/39.27^2)*((k(1)+k(2))*(0.15*tan(b)-l*sin(b))/(m*(0.15*tan(b)*sin(b)+a)))^0.5 )))*((k(1)+k(2))*(0.15*(sec(b))^2-l*cos(b))*(0.15*tan(b)*sin(b)+a)-0.15*(0.15*tan(b)-l*sin(b))*((sec(b))^2*sin(b)+sin(b))/(2*(0.15*tan(b)*sin(b)+a)*((k(1)+k(2))*(0.15*tan(b)-l*sin(b))*m*(0.15*tan(b)*sin(b)+a))^0.5));
int(y,b,0,1.308)
Error using ==> mupadmex
Error in MuPAD command:Index exceeds matrix dimensions.
Error in ==> sym.sym>sym.subsref at 1381
B = mupadmex('symobj::subsref',A.s,inds{:});
matlab 求积分报错syms m b a ky=((2*m*(0.15*tan(b)+a)^2/((15-100/39.27^2)*((k(1)+k(2))*(0.15*tan(b)-l*sin(b))/(m*(0.15*tan(b)*sin(b)+a)))^0.5 )))*((k(1)+k(2))*(0.15*(sec(b))^2-l*cos(b))*(0.15*tan(b)*sin(b)+a)-0.15*(0.15*tan(b)-l*sin(b))*((sec(b))
数值积分试试