• Remix
  • Share
  • New Entry

on 8 Oct 2021
  • 52
  • 69
  • 1
  • 0
  • 259
% Based on Mandelbrot Chapter of Cleve Moler "Experiments in MATLAB"
% By Victoria A. Sablina
a=-1.78368391508200646;
b=-3.67004748e-4;
w=9.0e-10;
s=1.5e-12;
x=a-w:s:a+w;
y=x'-a+b;
n=numel(x);
e=ones(n,1);
z0=x(e,:)+i*y(:,e);
z=zeros(n);
c=z;
d=1024;
for k=1:d
z=z.^2+z0;
c(abs(z)<2)=k;
end
image(c);
axis image off;
colormap(flipud(jet(d)));
title('MATLAB Central 20^{th} anniversary!!!');
Image
Remix Tree