Beauty of Complex Number

KSSV on 4 Oct 2021
  • 104
  • 401
  • 0
  • 277
axis equal off;hold on
for P=1:5
for Q=1:5
V=ceil(9*rand(1,3));a=V(1);b=V(2);c=V(3);L=a*b*c;
n=0:L;
m=n/a+n.^2/b+n.^3/c;
S=exp(2*pi*1i*m);
S=cumsum(S);
M=mean(S);S=S-M;R=max(abs(S));S=S/R;
shi=3*(P+1i*Q);
plot(shi+S);
text(real(shi),-1.5+imag(shi),num2str(V),'horizontalalignment','center');
end
end

Remix tree