• Remix
  • Share
  • New Entry

on 24 Oct 2022
  • 4
  • 9
  • 0
  • 0
  • 231
nq=16;%number of quadrants
np=20;%number of point per axis
hp=1:np;
hp=[hp;zeros(size(hp))];
rv=@(x) [cospi(x),-sinpi(x);sinpi(x),cospi(x)];
for j=1:floor(nq)
vp=rv(2*pi/nq)*hp;
for i=1:np
lp=[hp(:,i),vp(:,np-i+1)];
plot(lp(1,:),lp(2,:),'color',lines(1));hold on
end
hp=vp;
end
axis square
axis off
Remix Tree