matlab中如何绘制下列参数方程的三维曲面图:{x=usint; y=ucost; z=t/4;0
问题描述:
matlab中如何绘制下列参数方程的三维曲面图:{x=usint; y=ucost; z=t/4;0
答
u0=linspace(0,2,100);
t0=linspace(0,20,200);
[u,t]=meshgrid(u0,t0);
x=u.*sin(t);
y=u.*cos(t);
z=t0./4;
plot3(x,y,z);
参数选择有点不对