- /
-
Voronoi diagram
on 14 Oct 2021
- 5
- 25
- 0
- 0
- 177
warning off all;
A=linspace(0,360,50);
X=NaN(100,50);X=NaN(100,50);
Y=X;
for n=1:100
X(n,:)=0.9^n*cosd(A);
Y(n,:)=0.9^n*sind(A);
end
voronoi(X,Y);
axis off equal
xlim([-0.5 0.5]);
ylim([-0.5 0.5]);