fftn: n-point FFT

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

Description

Performs n-point Fast Fourier Transform (FFT) analoguous to MATLAB's fft(x,n).

Usage

1
  fftn(x, n=length(x))

Arguments

x

vector or array on which to perform the FFT.

n

Desired length of the FFT. Defaults to length of x.

Details

If x is a vector, fftn either truncates x or pads it with trailing zeros to make its length exactly n. For array, each column is adjusted in this way.

After padding or truncating, the routine calls fft on the altered vector or array.

Value

Return value is the same as fft.

Author(s)

Christopher G. Green christopher.g.green@gmail.com

See Also

ftt

Examples

1
   fftn(1:200,n=256)

christopherggreen/cggmisc documentation built on May 13, 2019, 7:04 p.m.