functionbandPass
Return band pass filter coefficients at given cut-off frequency
Extends from Modelica.Icons.Function (Icon for functions).
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:] | cr_in | Coefficients of real poles | |
| Real[:] | c0_in | Coefficients of s^0 term if conjugate complex pole | |
| Real[size(c0_in, 1)] | c1_in | Coefficients of s^1 term if conjugate complex pole | |
| SI.Frequency | f_min | Band of band pass filter is f_min (A=-3db) .. f_max (A=-3db) | |
| SI.Frequency | f_max | Upper band frequency |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[0] | cr | Coefficient of real pole | |
| Real[size(cr_in, 1) + 2*size(c0_in, 1)] | c0 | Coefficients of s^0 term if conjugate complex pole | |
| Real[size(cr_in, 1) + 2*size(c0_in, 1)] | c1 | Coefficients of s^1 term if conjugate complex pole | |
| Real | cn | Numerator coefficient of the PT2 terms |