firls | R Documentation |

`FIR`

filter designProduce a linear phase filter from the weighted mean squared such that error in the specified bands is minimized.

```
firls(N, freq, A, W = NULL, ftype = "")
```

`N` |
filter order, must be even (if odd, then will be increased by one) |

`freq` |
vector of frequency points in the range from 0 to 1, where 1
corresponds to the |

`A` |
vector of the same length as |

`W` |
weighting function that contains one value for each band that
weights the mean squared error in that band. |

`ftype` |
transformer type; default is |

The `FIR`

filter coefficients with class `'Arma'`

.
The moving average coefficient is a vector of length `n+1`

.

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.