WOLFRAM SYSTEM MODELER
FIRbyWindowFIR filter defined by filter order, cut-off frequency and window-type |
SystemModel["Modelica_Synchronous.WorkInProgress.Incubate.FIRbyWindow"]
This block computes the output y as a linear combination of the input u and of its past values (= FIR filter):
y(i) = a[1]*u(i) + a[2]*u(i-1) + a[3]*u(i-2) + ...
where y(i) and u(i) are the values of y and u at clock tick i and a[:] are the filter coefficients. Contrary to block FIRbyCoefficients this block computes the filter coefficients a[:] by design parameters (filter order, cut-off frequency, filter window)
filterType |
Value: Modelica_Synchronous.WorkInProgress.Incubate.Types.FIR_FilterType.LowPass Type: FIR_FilterType Description: Type of filter |
---|---|
order |
Value: 2 Type: Integer Description: Order of filter |
f_cut |
Value: 1 Type: Frequency Description: Cut-off frequency |
window |
Value: Modelica_Synchronous.WorkInProgress.Incubate.Types.FIR_Window.Kaiser Type: FIR_Window Description: Type of window |
beta |
Value: 2.12 Type: Real Description: Beta-Parameter for Kaiser-window |
a |
Default Value: Modelica_Synchronous.WorkInProgress.Incubate.Internal.FIR_coefficients(filterType, order, f_cut, interval(u), window, beta) Type: Real[order + 1] |
---|
u |
Type: RealInput Description: Connector of clocked, Real input signal |
|
---|---|---|
y |
Type: RealOutput Description: Connector of clocked, Real output signal |
FIRbyCoefficients1 |
Type: FIRbyCoefficients Description: FIR filter defined by coefficients |
---|
Modelica_Synchronous.WorkInProgress.Tests |
|
Modelica_Synchronous.WorkInProgress.Tests |