z=z.^2+c; % vectorized
make it vectorized, i.e. for each point it calulate iterations simultaniusly to detect inflinity, the infinity is number then grate then R by absolute value.
Maxim Vedenyov (2022). Mandelbrot set, vectorized, simple (https://www.mathworks.com/matlabcentral/fileexchange/37810-mandelbrot-set-vectorized-simple), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!