Performs vectorized FFT on multiple processors using pthreads
Updated 23 Aug 2006

View License

This mex file implements vectorized FFTs on multiple threads. When a matrix is passed to FFTmt, it is divided in "numCPU" and each fraction of the problem is executed in a separate thread

Example: if numCPU = 2 and the matrix has 256x2^14 elements, 128 FFTs are performed in each thread, allowing the OS to distribute the load on 2 processors.

A single FFT will not be accelerated by this code.
The FFTw library already provides provision for that but the is not currently used by Matlab, see www.fftw.org for details.

The same FFT library than Matlab uses is employed so that we don't even have to link against the FFTw lib.

Developed with pthreads, so UNIX only, not for Windows,

Cite As

Jerome Genest (2024). FFTmt (https://www.mathworks.com/matlabcentral/fileexchange/12038-fftmt), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Get Started with Signal Processing Toolbox in Help Center and MATLAB Answers

Inspired: FFTmtX

Community Treasure Hunt

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

Start Hunting!


Version Published Release Notes