ifft: Inverse FFT

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/filter.R

Description

Matlab/Octave-compatible inverse FFT.

Usage

1
ifft(x)

Arguments

x

the input array.

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.

Value

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

Author(s)

Tom Short

See Also

fft

Examples

1
ifft(fft(1:4))

Example output

Attaching package: 'signal'

The following objects are masked from 'package:stats':

    filter, poly

[1] 1+0i 2+0i 3+0i 4+0i

signal documentation built on May 25, 2021, 3 p.m.

Related to ifft in signal...