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

Filters with an FIR filter using the FFT.

1 2 3 4 5 6 |

`b` |
the moving-average (MA) coefficients of an FIR filter. |

`x` |
the input signal to be filtered. |

`n` |
if given, the length of the FFT window for the overlap-add method. |

`filt` |
filter to apply to the signal. |

`...` |
additional arguments (ignored). |

If `n`

is not specified explicitly, we do not use the overlap-add
method at all because loops are really slow. Otherwise, we only
ensure that the number of points in the FFT is the smallest power
of two larger than `n`

and `length(b)`

.

For `fftfilt`

, the filtered signal, the same length as the input
signal `x`

.

For `FftFilter`

, a filter of class `FftFilter`

that can be
used with `filter`

.

Original Octave version by Kurt Hornik and John W. Eaton. Conversion to R by Tom Short.

Octave Forge https://octave.sourceforge.io/

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.