Matlab出现的问题>> [x,y]=meshgrid(-2:0.1:2);>> z=x.*exp(-((x-y.^2).^2+y.^2));>> mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z')mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z') | Error:Unbalanced or unexpected parenthesis or bracket.
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 16:50:15
Matlab出现的问题>> [x,y]=meshgrid(-2:0.1:2);>> z=x.*exp(-((x-y.^2).^2+y.^2));>> mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z')mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z') | Error:Unbalanced or unexpected parenthesis or bracket.
Matlab出现的问题
>> [x,y]=meshgrid(-2:0.1:2);
>> z=x.*exp(-((x-y.^2).^2+y.^2));
>> mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z')
mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z') |
Error:Unbalanced or unexpected parenthesis or bracket.
Matlab出现的问题>> [x,y]=meshgrid(-2:0.1:2);>> z=x.*exp(-((x-y.^2).^2+y.^2));>> mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z')mesh(x,y,z,),xlabel('x'),ylabel('y'),zlabel('z') | Error:Unbalanced or unexpected parenthesis or bracket.
mesh(x,y,z,)里边多了一个逗号,改成mesh(x,y,z),其余可不变