- /
-
nth roots of unity
on 27 Oct 2021
- 36
- 518
- 0
- 0
- 250
figure('color','k')
hold
for n=1:9
i=1:n;
x=cos(2*i*pi./n);
y=sin(2*i*pi/n);
x(n+1)=x(1);
y(n+1)=y(1);
plot(x,y,'Linewidth',3);
end
s={'1';'-1';'1i';'-1i';'n^t^h roots of unity'};
x=[1;-1.1;0;0;-1.2];
y=[0;0;1.1;-1.1;1];
text(x,y,s,'FontSize',18,'color','w')
axis equal off