Code covered by the BSD License  

Highlights from
A GPU Mandelbrot Set

5.0 | 2 ratings Rate this file 39 Downloads (last 30 days) File Size: 160 KB File ID: #30988 Version: 1.7
image thumbnail

A GPU Mandelbrot Set


Ben Tordoff (view profile)


25 May 2011 (Updated )

Explore the Mandelbrot Set using MATLAB and a GPU.

| Watch this File

File Information

This application allows you to explore the wonders of the Mandelbrot Set in MATLAB with the help of a capable GPU. It is primarily intended as a demonstration of the different ways in which a MATLAB algorithm can be converted to run on the GPU, however it also has some fun features:
* Use the normal MATLAB zoom and pan to browse the Mandelbrot Set
* Sit back and watch the app pan and zoom between pre-stored locations in the set
* Add your own locations to the animation list

Three different ways of speeding up the algorithm using GPU hardware are provided along with a normal CPU-only version. Have a look at the code for these to get a feeling for how MATLAB's GPU support works.

See also the related "GPU Julia Set Explorer":

NB: Requires MATLAB R2012a or above with Parallel Computing Toolbox and a GPU with CUDA Compute Capability 1.3 or above.

Required Products Parallel Computing Toolbox
MATLAB release MATLAB 7.14 (R2012a)
MATLAB Search Path
Other requirements GPU with CUDA Compute Capability 1.3 or above.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
28 Aug 2014 Christopher  
04 Aug 2011 Ohad

Ohad (view profile)

25 May 2011 1.2

Fix incorrect required MATLAB version (requires R2011a, not R2010b)

20 Oct 2011 1.3

Add Julia Set link to description.

15 Nov 2011 1.4

* Fix warnings when animating with an odd window size
* Guard against the window closing to prevent an error when exiting

01 May 2012 1.5

* Add animation button to toolbar
* Fix display freeze when toggling control panel on/off

01 Nov 2012 1.6

* Updated to use new "gpuArray" names for build functions.
* MATLAB App included for ease of installation/removal.

15 Oct 2014 1.7

Fix compatibility with R2014b

Contact us