ifft2

Two-dimensional inverse fast Fourier transform.

Syntax

x = ifft2(f)

x = ifft2(f, m, n)

Inputs

f
The frequency spectrum to be transformed into the time domain.
Type: double
Dimension: vector | matrix
m
The number of columns in the inverse FFT.
Type: integer
Dimension: scalar
n
The number of rows in the inverse FFT.
Type: integer
Dimension: scalar

Outputs

x
The time domain representation of f.

Comments

The dimensions of the inverse FFT, m and n, default to the dimensions of the matrix being transformed. If they are not the defaults, the spectrum matrix is either truncated or extended with zeros symmetrically with respect to the Nyquist frequency. Currently, the dimension can only be changed for a conjugate symmetric input spectrum.

fftn uses the FFTW library.