动态展示点的运动轨迹
close all;
subplot(1,2,1);
t=0:0.01:2*pi;
x=cos(2*t).*(cos(t).^2);
y=sin(2*t).*(sin(t).^2);
comet(x,y);title('二维线');
subplot(1,2,2);
t=-10*pi:pi/250:10*pi;
x1=cos(2*t).*(sin(t).^2);
y1=sin(2*t).*(sin(t).^2);
comet3(x1,y1,t);title('三维线');
作业:正玄的轨迹表示
2021-10-04 21:42:19
203KB
ppt
1