求(MATLAB)圆锥面x=u*sin(v) y=u*cos(v) z=u
问题描述:
求(MATLAB)圆锥面x=u*sin(v) y=u*cos(v) z=u
答
syms u v;
d=[-5:0.5:5];
[u v]=meshgrid(d);
x=u.*sin(v),y=u.*cos(v),z=u;
surf(x,y,z)