f1=sym('sin(x)+cos(y)'); ezmesh(f1,[-2*pi,2*pi],30); 结果为什么是错误的?? Error: File: E:\matlab\toolbox\symbolic\@sym\char.m Line: 69 Column: 10"v" was previously used as a function,conflicting with its use here as the name of a variable. E
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 23:35:19
f1=sym('sin(x)+cos(y)'); ezmesh(f1,[-2*pi,2*pi],30); 结果为什么是错误的?? Error: File: E:\matlab\toolbox\symbolic\@sym\char.m Line: 69 Column: 10"v" was previously used as a function,conflicting with its use here as the name of a variable. E
f1=sym('sin(x)+cos(y)'); ezmesh(f1,[-2*pi,2*pi],30); 结果为什么是错误的?
? Error: File: E:\matlab\toolbox\symbolic\@sym\char.m Line: 69 Column: 10
"v" was previously used as a function,
conflicting with its use here as the name of a variable.
Error in ==> sym.findsym at 29 sc = char(S);
Error in ==> sym.ezmesh>makeinline at 65vars = findsym(f);
Error in ==> sym.ezmesh at 52F = makeinline(f);
我用的是MATLAB 7.0
f1=sym('sin(x)+cos(y)'); ezmesh(f1,[-2*pi,2*pi],30); 结果为什么是错误的?? Error: File: E:\matlab\toolbox\symbolic\@sym\char.m Line: 69 Column: 10"v" was previously used as a function,conflicting with its use here as the name of a variable. E
我用的是R2010a,经测试
程序 能正常运行
根据提示,好像是什么变量被占用了,你换个字母试试
要是还不行,就先定义下符号变量