Learn R Programming

signal (version 1.8-0)

ifft: Inverse FFT

Description

Matlab/Octave-compatible inverse FFT.

Usage

ifft(x)

Value

The inverse FFT of the input, the same length as x.

Arguments

x

the input array.

Author

Tom Short

Details

It uses fft from the stats package as follows:

fft(x, inverse = TRUE)/length(x)

Note that it does not attempt to make the results real.

See Also

Examples

Run this code
ifft(fft(1:4))

Run the code above in your browser using DataLab