matlab solve函数解方程错在哪里输入:syms xf=sym('-x^3+x^2-1=0')v=solve(f)w=double(v)结果:Attempt to execute SCRIPT solve as a function.Error in ==> sym.solve at 49[varargout{1:max(1,nargout)}] = solve(S{:});Error in ==> solve at 3v=so
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/14 23:44:07
matlab solve函数解方程错在哪里输入:syms xf=sym('-x^3+x^2-1=0')v=solve(f)w=double(v)结果:Attempt to execute SCRIPT solve as a function.Error in ==> sym.solve at 49[varargout{1:max(1,nargout)}] = solve(S{:});Error in ==> solve at 3v=so
matlab solve函数解方程错在哪里
输入:
syms x
f=sym('-x^3+x^2-1=0')
v=solve(f)
w=double(v)
结果:
Attempt to execute SCRIPT solve as a function.
Error in ==> sym.solve at 49
[varargout{1:max(1,nargout)}] = solve(S{:});
Error in ==> solve at 3
v=solve(f)
我用的matlab 7.0(R14)
matlab solve函数解方程错在哪里输入:syms xf=sym('-x^3+x^2-1=0')v=solve(f)w=double(v)结果:Attempt to execute SCRIPT solve as a function.Error in ==> sym.solve at 49[varargout{1:max(1,nargout)}] = solve(S{:});Error in ==> solve at 3v=so
我用的matlab7.11语句本身没有问题,可能是你当前工作目录下有与变量名相同的m文件,看一下