File Exchange

image thumbnail

mandelbrot set

version 1.5 (2.2 KB) by

Plots the mandelbrot set



View License

The famous mandelbrot set. The reason for uploading this is that it is a short and simple implementation using meshgrid and is updated for use with faster processors.

Comments and Ratings (5)

This code ran, but I can't see anything that looks like the Mandelbrot set in the output. It's just a black grid.
Change the isnan() to isinf() and it generates the image.

Sai Wing Man

s man

hi levent d,
i only tested on my 2.2Ghz machine so i assumed that was the baseline, what i would suggest is lowering num from 440 to say 200,i.e. decrease the resolution a little. the point was to get a simple working implementation. To get a 'fast' mandelbrot generator you need to use a compiled language, some programs can be found on wikipedia's page- e.g. quickman.

Levent D

It does not work normally @ p-III 800 Mhz, 256 MB ram

Alfonso F R

It takes around 3 minutes to render on the pentium III i tested on (just executing 'mandelbrot'-no arguments).
When zooming in you see a lot of white space.
When zooming back out, you don't see the full set, but around 80% of it.
Anyway, good work and thank you for posting!



modified email address on line 4.


update for BSD license

MATLAB Release
MATLAB 7.0.1 (R14SP1)

Inspired by: Mandelbrot set vectorized

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video