Calculates the filter coefficients for a second order notch filter and performs filtering on input signal.
Second order transfer function used:
H(z) = (b0.z² + b1.z + b2) / (z² + a1.z + a2)
Inports
In: Input In(k)
Outports
Out: Output Out(k)
Mask Parameters
method: Selection between bilinear and matched Z-transform discretization method.
fn: Notching frequency in Hz
Q: Defines a quality factor of the filter.
ts_fact: Multiplication factor of base sampling time (in integer format).