求matlab高手指点!!!如何让下面的动画播放的时候只显示最后一次的图线??? 5
clearallt=0:pi/100:2*pi;axis([-10,30,-10,10]);axisoffholdonfork=2:16x=-4+k+4*cos(t);y...
clear all
t=0:pi/100:2*pi;
axis([-10,30,-10,10]);
axis off
hold on
for k=2:16
x=-4+k+4*cos(t);y=4*sin(t);
plot(x,y);
drawnow;pause(0.1);
end 展开
t=0:pi/100:2*pi;
axis([-10,30,-10,10]);
axis off
hold on
for k=2:16
x=-4+k+4*cos(t);y=4*sin(t);
plot(x,y);
drawnow;pause(0.1);
end 展开
1个回答
展开全部
clear all
t=0:pi/100:2*pi;
axis([-10,30,-10,10]);
%axis off
hold on
for k=1:26
x=-4+1+4*cos(t);
y=4*sin(t);
plot(x,y),hold on
%drawnow;用也饥磨可档肢辩以
pause(0.5);
end
plot(x+25,y
按上面语句行缺试试
t=0:pi/100:2*pi;
axis([-10,30,-10,10]);
%axis off
hold on
for k=1:26
x=-4+1+4*cos(t);
y=4*sin(t);
plot(x,y),hold on
%drawnow;用也饥磨可档肢辩以
pause(0.5);
end
plot(x+25,y
按上面语句行缺试试
追问
不对的!!
追答
哪里不对,我试过的
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询