WOLFRAM SYSTEM MODELER

FIR_window

Calculation of n-point weighting window for FIR filter

Wolfram Language

In[1]:=
SystemModel["Modelica_Synchronous.WorkInProgress.Incubate.Internal.FIR_window"]
Out[1]:=

Information

Weighting windows are used for digital filter design or spectrum estimation (e.g. DFT) to increase the quality. In designing FIR-Filter the main role of windowing is to remove non-ideal effects caused by the endless number of filter coefficients (Gibbs phenomenon). Multiplying the coefficients with a window damps the coefficients at the beginning and at the end.

The function outputs a L-point vector for a given kind of window. The parameter "beta" is only needed by the Kaiser window. The types of windows are:

  1. Rectangle
  2. Bartlett
  3. Hann
  4. Hamming
  5. Blackman
  6. Kaiser

Syntax

a = FIR_window(na, window, beta)

Inputs (3)

na

Type: Integer

Description: Number of points of weighting window vector

window

Default Value: Window.Kaiser

Type: FIR_Window

Description: Type of window

beta

Default Value: 2.12

Type: Real

Description: Beta-Parameter for Kaiser-window

Outputs (1)

a

Type: Real[na]

Description: Weighting window vector a[na]