ifftn
Multidimensional inverse fast Fourier transform
Syntax
X = ifftn(Y)
X = ifftn(Y,sz)
X = ifftn(___,symflag)
Description
X = ifftn(
returns themultidimensional discrete inverse Fourier transformof an N-D array using a fast Fourier transform algorithm. The N-D inverse transform is equivalent to computing the 1-D inverse transform along each dimension ofY
)Y
. The outputX
is the same size asY
.
X = ifftn(
truncatesY
,sz
)Y
or padsY
with trailing zeros before taking the inverse transform according to the elements of the vectorsz
. Each element ofsz
defines the length of the corresponding transform dimension. For example, ifY
is a 5-by-5-by-5 array, thenX = ifftn(Y,[8 8 8])
pads each dimension with zeros, resulting in an 8-by-8-by-8 inverse transformX
.
Examples
Input Arguments
More About
Algorithms
The
ifftn
function tests whether the vectors in an arrayY
are conjugate symmetric in all dimensions. A vectorv
is conjugate symmetric when theith element satisfiesv(i) = conj(v([1,end:-1:2]))
. If the vectors inY
are conjugate symmetric in all dimensions, then the inverse transform computation is faster and the output is real.