Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-08-19
年龄: 38
帖子: 3
声望力: 0 ![]() |
![]()
不知道为什么,我一运行matlab解符号方程组就报错。下面的代码是从一本教程上copy的,都无法执行,请问有没有人知道问题出在哪儿?等着要结果,急得都不行了。谢谢各位!
clear; clc; e1=sym('a+b+x=y'); e2=sym('2*a*x-b*y=-1'); e3=sym('(a+b)^2=x+y'); e4=sym('a*y+b*x=4'); [a,b,x,y]=solve(e1,e2,e3,e4); 下面是报错内容: ??? Attempt to execute SCRIPT solve as a function: D:\目录一\新建文件夹\LT\MATLAB\solve.m Error in ==> sym.solve at 49 [varargout{1:max(1,nargout)}] = solve(S{:}); |
![]() |
![]() |