fftN: Zero Padded 1D Fourier transform

Description Usage Arguments Value Examples

Description

This function is a simple wrapper of Armadillo's fft function. It allows for fast and easy zero padding of a signal.

Usage

1
fftN(X,N=NULL)

Arguments

X

X a numeric vector or matrix

N

Length of zero padded signal. If NULL the function will automatically pad sufficiently for a fast transform.

Value

returns the Fourier transform of the signal.

Examples

1
2
x<-matrix(rnorm(101*1000),nrow = 101,ncol = 1000)
system.time(test1<-fftN(x))

FIACH documentation built on May 1, 2019, 8:02 p.m.

Related to fftN in FIACH...