写出在Matlab中绘制螺旋线x=sint,y=cost,z=t的程序
问题描述:
写出在Matlab中绘制螺旋线x=sint,y=cost,z=t的程序
答
t=0:0.01:27;
x=sin(t);
y=cos(t);
z=t;
plot3(x,y,z)
见图