interpolate.fft: interpolates data using the Fourier back transform

Description Usage Arguments Value

View source: R/interpolationFFT.R


There are two way to interpolate data from a given spectrum. Frist, one can do zero padding to cover n new data points. Or, secound the complex amplitude with the associated frequency is taken and evaluated at given points xout. Doing that for all frequencies and amplitudes will give the interpolation.


interpolate.fft(y, x = NULL, n = NULL, xout = NULL)



numeric data vector to be interpolated


numeric data vector with reference points


number of new points


a vector new points


A list with a x and y component is returned. The e99 value evaluates the error of the interpolation with respect to linear approximation with the approx() function.

spectral documentation built on May 19, 2017, 6:43 a.m.

Search within the spectral package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.