FUNCTION REFERENCE
fft2
Two-dimensional discrete Fourier transform.
Two-dimensional discrete Fourier transform.
Syntax
Y = fft2(X)Syntax
Y = fft2(X, m, n)Transforms down the columns, then along the rows. X is cropped or padded
with zeros to m-by-n first when given. Y is real when every imaginary part
is zero, as in MATLAB.
Example
fft2([1 2;3 4]) % [10 -2; -4 0]Differences from MATLAB: real, logical and complex 2-D arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.