Navigation

Operators and Keywords

Function List:

C++ API

: fft2 (A)
: fft2 (A, m, n)

Compute the two-dimensional discrete Fourier transform of A using a Fast Fourier Transform (FFT) algorithm.

The optional arguments m and n may be used specify the number of rows and columns of A to use. If either of these is larger than the size of A, A is resized and padded with zeros.

If A is a multi-dimensional matrix, each two-dimensional sub-matrix of A is treated separately.

See also: ifft2, fft, fftn, fftw.

Package: octave