bandPass

Return band pass filter coefficients at given cut-off frequency

Syntax

(cr, c0, c1, cn) = bandPass(cr_in, c0_in, c1_in, f_min, f_max)

Inputs (5)

cr_in

Type: Real[:]

Description: Coefficients of real poles

c0_in

Type: Real[:]

Description: Coefficients of s^0 term if conjugate complex pole

c1_in

Type: Real[size(c0_in, 1)]

Description: Coefficients of s^1 term if conjugate complex pole

f_min

Type: Frequency (Hz)

Description: Band of band pass filter is f_min (A=-3db) .. f_max (A=-3db)

f_max

Type: Frequency (Hz)

Description: Upper band frequency

Outputs (4)

cr

Type: Real[0]

Description: Coefficient of real pole

c0

Type: Real[size(cr_in, 1) + 2 * size(c0_in, 1)]

Description: Coefficients of s^0 term if conjugate complex pole

c1

Type: Real[size(cr_in, 1) + 2 * size(c0_in, 1)]

Description: Coefficients of s^1 term if conjugate complex pole

cn

Type: Real

Description: Numerator coefficient of the PT2 terms