- /
-
Mandelbrot set
on 20 Oct 2021
- 2
- 9
- 0
- 0
- 172
m = 1000;
[X,Y]=meshgrid(linspace(-2,1,m),linspace(-1,1,m));
Z = zeros(m);
C = X+Y*1i;
for j=1:m; Z=Z.^2+C;end
W = exp(-abs(Z));
colormap pink
pcolor(W)
shading flat;
axis off; axis equal