Package Modelica.​Blocks.​Continuous.​Internal.​Filter.​coefficients
Filter coefficients

Information

This icon shall be used for a package that contains internal classes not to be directly utilized by a user.

Extends from Modelica.​Icons.​InternalPackage (Icon for an internal package (indicating that the package should not be directly utilized by user)).

Package Contents

NameDescription
bandPassReturn band pass filter coefficients at given cut-off frequency
bandStopReturn band stop filter coefficients at given cut-off frequency
highPassReturn high pass filter coefficients at given cut-off frequency
lowPassReturn low pass filter coefficients at given cut-off frequency

Function Modelica.​Blocks.​Continuous.​Internal.​Filter.​coefficients.​lowPass
Return low pass filter coefficients at given cut-off frequency

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realcr_in[:]Coefficients of real poles
Realc0_in[:]Coefficients of s^0 term if conjugate complex pole
Realc1_in[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole
Frequencyf_cutCut-off frequency

Outputs

TypeNameDescription
Realcr[size(cr_in, 1)]Coefficient of real pole
Realc0[size(c0_in, 1)]Coefficients of s^0 term if conjugate complex pole
Realc1[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole

Function Modelica.​Blocks.​Continuous.​Internal.​Filter.​coefficients.​highPass
Return high pass filter coefficients at given cut-off frequency

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realcr_in[:]Coefficients of real poles
Realc0_in[:]Coefficients of s^0 term if conjugate complex pole
Realc1_in[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole
Frequencyf_cutCut-off frequency

Outputs

TypeNameDescription
Realcr[size(cr_in, 1)]Coefficient of real pole
Realc0[size(c0_in, 1)]Coefficients of s^0 term if conjugate complex pole
Realc1[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole

Function Modelica.​Blocks.​Continuous.​Internal.​Filter.​coefficients.​bandPass
Return band pass filter coefficients at given cut-off frequency

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realcr_in[:]Coefficients of real poles
Realc0_in[:]Coefficients of s^0 term if conjugate complex pole
Realc1_in[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole
Frequencyf_minBand of band pass filter is f_min (A=-3db) .. f_max (A=-3db)
Frequencyf_maxUpper band frequency

Outputs

TypeNameDescription
Realcr[0]Coefficient of real pole
Realc0[size(cr_in, 1) + 2 * size(c0_in, 1)]Coefficients of s^0 term if conjugate complex pole
Realc1[size(cr_in, 1) + 2 * size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole
RealcnNumerator coefficient of the PT2 terms

Function Modelica.​Blocks.​Continuous.​Internal.​Filter.​coefficients.​bandStop
Return band stop filter coefficients at given cut-off frequency

Information

This icon indicates Modelica functions.

Extends from Modelica.​Icons.​Function (Icon for functions).

Inputs

TypeNameDescription
Realcr_in[:]Coefficients of real poles
Realc0_in[:]Coefficients of s^0 term if conjugate complex pole
Realc1_in[size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole
Frequencyf_minBand of band stop filter is f_min (A=-3db) .. f_max (A=-3db)
Frequencyf_maxUpper band frequency

Outputs

TypeNameDescription
Realcr[0]Coefficient of real pole
Realc0[size(cr_in, 1) + 2 * size(c0_in, 1)]Coefficients of s^0 term if conjugate complex pole
Realc1[size(cr_in, 1) + 2 * size(c0_in, 1)]Coefficients of s^1 term if conjugate complex pole