matlab求解释一下这个编程案例!!!!
t=0:.1:10*pi;y=exp(.1*t);p=polar(t,exp(.1*t));h=line(0,0,'color','red','marker','.','...
t=0:.1:10*pi;
y=exp(.1*t);
p=polar(t,exp(.1*t));
h=line(0,0,'color','red','marker','.','markersize',40,'erasemode','xor');%定义红色的小球
[x,y]=pol2cart(t,y);
fori=1:length(x)
set(h,'xdata',x(i),'ydata',y(i));
pause(0.00005) %drawnow
end 展开
y=exp(.1*t);
p=polar(t,exp(.1*t));
h=line(0,0,'color','red','marker','.','markersize',40,'erasemode','xor');%定义红色的小球
[x,y]=pol2cart(t,y);
fori=1:length(x)
set(h,'xdata',x(i),'ydata',y(i));
pause(0.00005) %drawnow
end 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询