• Remix
  • Share
  • New Entry

on 27 Oct 2021
  • 2
  • 9
  • 1
  • 0
  • 264
x=0:.1:1.1;
x2=x;
y=x.^3;
y2=x.^5;
for A=0:45:45*16
O=[cosd(A), -sind(A); sind(A), cosd(A)];
for i=1:length(x)
M=[y(i);x(i)];
T=O*M;
x(i)=T(1);
y(i)=T(2);
M=[y2(i);x2(i)];
T=O*M;
x2(i)=T(1);
y2(i)=T(2);
plot(x(1:i),y(1:i),'LineWidth',2);
axis off
hold on
plot(x2(1:i),y2(1:i),'LineWidth',2);
end
end
Remix Tree