clc;clear all;
a=10;
x=-2:0.01:2;
set(gcf,'position',[100,0,800,600],'color','w');
for i=1:100
clf;
y = abs(x).^(2/3)+(0.9*sqrt((3.3-x.^2))).*sin(a*pi*x);
a=i/10;
set(gcf,'position',[0,0,800,600],'color','w');
p1 = plot(x,y,'r','LineWidth',3);
hold on;
title('\color{red}爱你~宝宝','fontsize',15);
xlim([-2 2]);
ylim([-1.5 2.5]);
pause(0.1);
end
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删