matlab程序出问题了,请教大神

B =

0
0

ub =

20
1500
500
700
1000
1100
1000
500
1300
-300

Exiting due to infeasibility: 1 lower bound exceeds the corresponding upper bound.
************破碎机轨迹优化设计最优解*************
曲柄长 x1=14.0000mm
连杆长 x2=1400.0000mm
杆长 x3=377.0000mm
杆长 x4=520.0000mm
杆长 x5=812.0000mm
杆长 x6=700.0000mm
摇杆长 x7=600.0000mm
杆长 x8=324.0000mm
H点横坐标 x9=1100.0000mm
H点纵坐标 x10=-287.0000mm
特征值 s=??? Error using ==> mpower
Matrix must be square.

Error in ==> posuiji_g at 37
g(5)=acos((x(2)^2+x(7)^2-lBH^2)/(2*x(2)*x(7)))

Error in ==> Untitled6 at 20
g=posuiji_g(x); disp ‘ ==========最优点的性能约束函数值==========’

程序出问题了,请大神帮忙看一下

应该使用矩阵形式追问

是哪个地方要改成矩阵形式呀?

温馨提示:答案为网友推荐,仅供参考