Matlab画渐开线
| 分类: Matlab |
n=4*pi
t=0:pi/20:n
R=1
x=R*(cos(t)+t.*sin(t))
y=R*(sin(t)-t.*cos(t))
plot(x,y)
axis square
grid
结果如图
http://s1/mw690/924bc61agde9bac230d10&690
前一篇:Matlab画一个球
| 分类: Matlab |
n=4*pi
t=0:pi/20:n
R=1
x=R*(cos(t)+t.*sin(t))
y=R*(sin(t)-t.*cos(t))
plot(x,y)
axis square
grid
结果如图
http://s1/mw690/924bc61agde9bac230d10&690