![]() |
[求助]新手求助
我想画个圆,让它滚动起来。
我的代码是这样的,画不出圆来,请高手解答一下 axis([0,20,-5,5]); w=0.2; for x=0:0.2:10 for t=0:pi/100:2*pi x1=3*cos(w*t)+x; y=3*sin(w*t); plot(x1,y,'yp-'); end pause(0.01) end |
所有时间均为北京时间。现在的时间是 09:45。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.