深度图几行代码
t=0:0.1:3.2;
a=0:-0.1:-7;
[x,y]=meshgrid(a,t);
b=power((20.y+0.5.x.power(y,2)-1.015-35),2);
c=power((0.0626power(y,5)-0.5007power(y,4)+1.0681power(y,3)-0.5*1.86),2);
z=power((b+c),0.5)-3;
pcolor(x,y,z);shading interp
深度图几行代码
t=0:0.1:3.2;
a=0:-0.1:-7;
[x,y]=meshgrid(a,t);
b=power((20.y+0.5.x.power(y,2)-1.015-35),2);
c=power((0.0626power(y,5)-0.5007power(y,4)+1.0681power(y,3)-0.5*1.86),2);
z=power((b+c),0.5)-3;
pcolor(x,y,z);shading interp