- /
-
121 mod 200
on 4 Oct 2022
- 4
- 94
- 16
- 1
- 211
figure;
mp=200;
ag=0:2*pi/mp:2*pi;
xV=cos(ag);
yV=sin(ag);
tm=121;
for i=0:mp
ptO=[xV(mod(i,mp)+1);yV(mod(i,mp)+1)];
rm=mod(i*tm,mp);
pt=[xV(rm+1);yV(rm+1)];
ptsD=[ptO,pt];
plot(ptsD(1,:),ptsD(2,:),'k');hold on
axis square
axis off
end