GPU from MATLAB(R) example

Simple example showing how to access the GPU from MATLAB
1.8K Downloads
Updated 7 May 2009

View License

This is a simple example showing how to access the GPU from MATLAB. This example requires a Freeware library called GPUmat, that can be downloaded from http://gp-you.org

The example shows the following:
- Creating variables on the GPU memory
- Performing operations on the GPU: FFT, matrix multiplication, element-by-element multiplication, on both real and complex numbers

Cite As

The GP-you Group (2025). GPU from MATLAB(R) example (https://www.mathworks.com/matlabcentral/fileexchange/24028-gpu-from-matlab-r-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on GPU Computing 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