fftn
N-dimensional Fast Fourier Transform.
Syntax
Section titled “Syntax”Y = fftn(X)Y = fftn(X, siz)Description
Section titled “Description”Returns the N-dimensional DFT of X. With siz (a vector of sizes), pads/truncates X to that shape first. Generalizes fft and fft2 to arbitrary dimensions.
Example
Section titled “Example”Y = fftn(rand(4,4,4))