MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【讨论】大家讨论讨论这个程序 (https://www.labfans.com/bbs/showthread.php?t=1016)

tqr591513792 2007-12-29 13:41

【讨论】大家讨论讨论这个程序
 
大家讨论讨论下面这个程序怎么样分段显示出来?
x=0:0.1:8*pi;
h=plot(x,sin(x).*exp(-x/5),'EraseMode','xor');
axis([-inf inf -1 1]);
grid on
for i=1:5000
y=sin(x+i/50).*exp(-x/5);
set(h,'ydata',y);
drawnow
end

mathjiang 2008-01-02 10:18

楼主没有表达清楚,什么“分段显示”啊?


所有时间均为北京时间。现在的时间是 10:16

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.