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
xn@_W7uZ4I)(] ,&g"6@"QD  h (xl-;!>9q^6r%޲YN:3RE,kSɟ5^g[8~|{#|xy4;wb. 1q*BØYe2y5d-X%T"3-@.;Ӝuġn&a nW¨3jH3N:aZ" 3$D6AURڙ?~zb$nWD"65R rA9_C ⑕+# 5bx~Nq~3T?13_OL~ne._sl1S/n.糹,Rñ|D  $8x-

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,经测试
程序 能正常运行
根据提示,好像是什么变量被占用了,你换个字母试试
要是还不行,就先定义下符号变量