ifft
Inverse fast Fourier transform
Description
X = ifft(
computes the inverse discrete Fourier
transform of Y
)Y
using a fast Fourier transform
algorithm. X
is the same size as Y
.
If
Y
is a vector, thenifft(Y)
returns the inverse transform of the vector.If
Y
is a matrix, thenifft(Y)
returns the inverse transform of each column of the matrix.If
Y
is a multidimensional array, thenifft(Y)
treats the values along the first dimension whose size does not equal 1 as vectors and returns the inverse transform of each vector.
Examples
Input Arguments
More About
Algorithms
The
ifft
function tests whether the vectors inY
are conjugate symmetric. If the vectors inY
are conjugate symmetric, then the inverse transform computation is faster and the output is real.A function is conjugate symmetric if . However, the fast Fourier transform of a time-domain signal has one half of its spectrum in positive frequencies and the other half in negative frequencies, with the first element reserved for the zero frequency. For this reason, a vector
v
is conjugate symmetric whenv(2:end)
is equal toconj(v(end:-1:2))
.
Extended Capabilities
Version History
Introduced before R2006a