MATLAB Function Reference | Search  Help Desk |
fftn | See Also |
Multidimensional fast Fourier transform
Y = fftn(X)
Y = fftn(X,
siz)
Y = fftn(X)
performs the N-dimensional fast Fourier transform. The result Y
is the same size as X
.
Y = fftn(X,siz)
pads X
with zeros, or truncates X
, to create a multidimensional array of size siz
before performing the transform. The size of the result Y
is siz
.
fftn(X)
is equivalent to
Y = X; for p = 1:length(size(X)) Y = fft(Y,[],p); endThis computes in-place the one-dimensional fast Fourier transform along each dimension of
X
. The time required to compute fftn(X)
depends strongly on the number of prime factors of the dimensions of X
. It is fastest when all of the dimensions are powers of 2.
fft
One-dimensional fast Fourier transform
fft2
Two-dimensional fast Fourier transform
ifftn
Inverse multidimensional fast Fourier transform