动态爱心-matlab实现-附源码
clear all;clc;
syms a x;
for t=1:1:50
clf;
Lfl='(-x).^(2/3)+(0.9*(3.3-(-x).^2).^0.5).*sin(';
Rfl='x.^(2/3)+(0.9*(3.3-x.^2).^0.5).*sin(';
f2=num2str(t);
Lf3='*pi*(-x))';
Rf3='*pi*x)';
Lf=[Lfl,f2,Lf3];
Rf=[Rfl,f2,Rf3];
ezplot(Lf);
hold on;
ezplot(Rf);
axis([-2 2 -1.5 2.5]);
grid on;
pause(0.1);
end
本文含有隐藏内容,请 开通VIP 后查看