View source: R/FourierFilter.R
FourierFilter | R Documentation |
Filter time series by keeping only the largest or first of FFT coefficients.
FourierFilter(Data, CountOrPercent=0.1, largest=TRUE,
AdaptAmp=FALSE, na.rm = TRUE,PlotIt=FALSE)
Data |
[1:n] real time series or complex fourier coefficients |
CountOrPercent |
if > 1 : keep largest n coefficients if in [0:1] keep largest percentage of coefficients default: CountOrPercent=0.2 |
largest |
if ==TRUE(default): keep largest coefficients (BandPass) otherwise: keep first coefficients (LowPass) |
AdaptAmp |
==TRUE means amplitude and DC component of FilteredData is adapted to fit Data default ==FALSE |
na.rm |
if TRUE removes automatically NaN by spline interpolation |
PlotIt |
==TRUE plots Data versus Fit default ==FALSE |
FilteredData[1:n] FilteredData time series
Michael Thrun
Prof. Dr. Alfred Ultsch matlab code and temporal data mining, Prof. Dr. ultsch
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.