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

FIR filter coefficients for a filter with the given order and frequency cutoff.

1 2 |

`n` |
order of the filter (1 less than the length of the filter) |

`w` |
band edges, strictly increasing vector in the range [0, 1], where 1 is the Nyquist frequency. A scalar for highpass or lowpass filters, a vector pair for bandpass or bandstop, or a vector for an alternating pass/stop filter. |

`type` |
character specifying filter type, one of |

`window` |
smoothing window. The returned filter is the same shape as the smoothing window. |

`scale` |
whether to normalize or not. Use |

The FIR filter coefficients, an array of `length(n+1)`

, of class `Ma`

.

Original Octave version by Paul Kienzle, pkienzle@user.sf.net. Conversion to R by Tom Short.

https://en.wikipedia.org/wiki/Fir_filter

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

1 2 3 |

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.