Code covered by the BSD License  

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

» Watch video

Highlights from
A GPU Mandelbrot Set

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

A GPU Mandelbrot Set

by

Ben Tordoff (view profile)

 

25 May 2011 (Updated )

Explore the Mandelbrot Set using MATLAB and a GPU.

| Watch this File

File Information
Description

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": http://www.mathworks.com/matlabcentral/fileexchange/33201

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
/
/GPUMandelbrot-v1p4
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 (3)
10 May 2016 Reed

Reed (view profile)

great animated experience. fun demonstration of the set and gpu capability. FYI, the app installation didn't completely work for me. It left out most of the .m files and I had to download the .zip and copy and paste them into where the app installer put the other files. Maybe the app package is missing some files?

28 Aug 2014 Christopher  
04 Aug 2011 Ohad

Ohad (view profile)

 
Updates
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