fft2
2-D fast Fourier transform.
📝Syntax
Y = fft2(X)
Y = fft2(X, m, n)
📥Input Arguments
Parameter Description
X Input array.
m Number of transform rows.
n Number of transform columns.
📤Output Arguments
Parameter Description
Y a vector, matrix, N-D array: frequency domain representation.
📄Description

Y = fft2(X) returns the two-dimensional Fourier transform of X using a Fast Fourier Transform (FFT) algorithm.

Optional arguments m and n may be used specify the number of rows and columns of X to use.

If either of these is larger than the size of X, X is resized and padded with zeros.

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

💡Examples
R = fft2(eye(5, 5), 2, 3)
🔗See Also
fftnfft
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub