Mandelbrot set vectorized

Produces the Mandelbrot set using vectorized code.
7.2K Downloads
Updated 2 Jun 2004

View License

Produces the Mandelbrot set, as other user contributed "m" files, but this submission is VECTORIZED, achieving a speedup of approx 2.5 against a traditional implementation (which is optimized by the JIT). In the past (6.0), a vectorized implementation would achieve speedups up to 100 times faster, this is no longer true.
This is a very instructive example of how to vectorize nested loops.

When being used in interactive mode you can zoom into a region of interest and launch again the computation with a GUI push-button.

Cite As

Lucio Cetto (2024). Mandelbrot set vectorized (https://www.mathworks.com/matlabcentral/fileexchange/1329-mandelbrot-set-vectorized), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Fractals in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Updating for R14