Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
|
![]() |
#1 |
普通会员
注册日期: 2008-04-14
年龄: 39
帖子: 78
声望力: 21 ![]() ![]() |
![]()
??? Undefined function or method 'mtimes' for input arguments of type 'cell'.
Error in ==> WALL at 3 A=simplify(2*[(B/2).^3+(3*B/2+H).^3-(B/2+H).^3+(3*B/2+2*H+Q).^3-(3*B/2+H-Q).^3+(3*B/2-Q).^3-(B/2+2*H+Q).^3+(B/2+Q+H).^3-(B/2-Q).^3+(B/2-H-Q).^3]+6*{(C+2*H).*[(B/2+H/2).^2+(3*B/2+3*H/2).^2+(3*B/2+H/2-Q).^2+(B/2+3*H/2+Q).^2+(B/2-Q-H/2).^2]}+3*[(3*B/2+5*H/2+Q).^2.*(C+3*H+Q)+(3*B/2+5*H/2+Q).^2.*(Q+2*H)]) 程序: syms H C Q B=3*Q+2*H; A=simplify(2*[(B/2).^3+(3*B/2+H).^3-(B/2+H).^3+(3*B/2+2*H+Q).^3-(3*B/2+H-Q).^3+(3*B/2-Q).^3-(B/2+2*H+Q).^3+(B/2+Q+H).^3-(B/2-Q).^3+(B/2-H-Q).^3]+6*{(C+2*H).*[(B/2+H/2).^2+(3*B/2+3*H/2).^2+(3*B/2+H/2-Q).^2+(B/2+3*H/2+Q).^2+(B/2-Q-H/2).^2]}+3*[(3*B/2+5*H/2+Q).^2.*(C+3*H+Q)+(3*B/2+5*H/2+Q).^2.*(Q+2*H)]) |
![]() |
![]() |