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/12/19 15:30:51
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),其余可不变