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 ofX using a Fast Fourier Transform (FFT) algorithm.

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

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

IfX is a multi-dimensional matrix, each two-dimensional sub-matrix ofX 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