| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
MATLAB functions related to Fourier transforms include:
| Function | Description |
|---|---|
| fft | One-dimensional fast Fourier transform |
| ifft | One-dimensional inverse fast Fourier transform |
| fft2 | Two-dimensional fast Fourier transform |
| ifft2 | Two-dimensional inverse fast Fourier transform |
| fftn | N-dimensional fast Fourier transform |
| ifftn | N-dimensional inverse fast Fourier transform |
| fftshift | Rearrange DFT data to center zero-frequency component |
| fftw | Interface to FFTW run-time algorithm |
| abs | Amplitude of the DFT |
| angle | Phase of the DFT |
| unwrap | Correct phase angles with jumps greater than or equal to pi |
| nextpow2 | Next power of two greater than or equal to a given length |
| pow2 | Compute powers of two |
The MATLAB software also includes demos that use these functions in combination for Fourier analysis:
FFT for Spectral Analysis — Reviews basic spectral analysis with the FFT
Using FFT in MATLAB — Example of time series analysis with the FFT that looks for periodicity in historical data on sunspot activity
![]() | Fast Fourier Transform (FFT) | Examples | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |