Y = fft2(X)
Y = fft2(X, m, n)
| Parameter | Description |
|---|---|
| X | Input array. |
| m | Number of transform rows. |
| n | Number of transform columns. |
| Parameter | Description |
|---|---|
| Y | a vector, matrix, N-D array: frequency domain representation. |
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.
R = fft2(eye(5, 5), 2, 3)
| Version | Description |
|---|---|
| 1.0.0 | initial version |