# FIR Filter

## Description

The filter block `FIR Filter`

designs a FIR filter based on specifications and
filters data using the filter

#### Input

The input is `MxN`

.

#### Output

The output is `MxN`

which is the input data filtered with the designed FIR filter

## Attributes

Attribute | Value |
---|---|

Name | FIR |

Type | Low-pass |

Filtering | Forward |

Design | Kaiser |

Passband Frequency | โ 16000 Hz |

Passband Max Loss | โ 1 dB |

Stopband Frequency | โ 20000 Hz |

Stopband Min Attenuation | โ 60 dB |

Channels | 1 |

*Values with* โ *can receive external input.*

#### Name

Name specifies the name of the block.

#### Type

Type specifies the type of filter that should be used. It can either be set to `Low-pass`

or `High-pass`

.

#### Filtering

Filtering is the way the filter should filter data. It can either be set to `Forward`

which runs data through the filter once
applying half the filter delay, or `Forward & Backward`

filtering data both ways meaning a zero-phase filter.

#### Design

Design specifies the type of filter design that should be used. It can only be set to `Kaiser`

.

#### Passband Frequency

The passband edge frequency in `Hz`

is from which frequency the passband requirement maximum ripple should be valid from.

#### Passband Max Loss

The passband maximum ripple in `dB`

is the maximum ripple allowed in the passband.

#### Stopband Frequency

The stopband edge frequency in `Hz`

is from which frequency the stopband requirement minimum attenuation should be valid from.

#### Stopband Min Attenuation

The stopband minimum attenuation in `dB`

is the minimum attenuation the filter should have in the stopband.

#### Channels

Channels specifies the number of input(s)/output(s) the block will have.