matlab画曲面,大家帮我看看哪里错了?clear;clc;syms x y z;[x y z] = meshgrid(0:0.02:1,0:0.02:1,0:0.02:1);ezmesh(x,0.2/x,z);axis tight我想画出空间曲面y=0.2/x,x,y,z的范围是(0,1),可是matlab总是提示错误,怎么修改就

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 08:43:00

matlab画曲面,大家帮我看看哪里错了?clear;clc;syms x y z;[x y z] = meshgrid(0:0.02:1,0:0.02:1,0:0.02:1);ezmesh(x,0.2/x,z);axis tight我想画出空间曲面y=0.2/x,x,y,z的范围是(0,1),可是matlab总是提示错误,怎么修改就
matlab画曲面,大家帮我看看哪里错了?
clear;
clc;
syms x y z;
[x y z] = meshgrid(0:0.02:1,0:0.02:1,0:0.02:1);
ezmesh(x,0.2/x,z);
axis tight
我想画出空间曲面y=0.2/x,x,y,z的范围是(0,1),可是matlab总是提示错误,怎么修改就对了?

matlab画曲面,大家帮我看看哪里错了?clear;clc;syms x y z;[x y z] = meshgrid(0:0.02:1,0:0.02:1,0:0.02:1);ezmesh(x,0.2/x,z);axis tight我想画出空间曲面y=0.2/x,x,y,z的范围是(0,1),可是matlab总是提示错误,怎么修改就
 clear
 clc
[x,z]=meshgrid(0:0.02:1,0:0.02:1);
y=0.2./x;
 mesh(x,z,y)
 xlabel('x')
 ylabel('z')
  zlabel('y')