Skip to main content

tf2zpk

Function tf2zpk 

Source
pub fn tf2zpk(
    b: &[f64],
    a: &[f64],
) -> Result<(Vec<Complex<f64>>, Vec<Complex<f64>>, f64), ErrorsJSL>
Expand description

Zeros, poles and gain of b(s)/a(s) (SciPy’s tf2zpk): both are normalised by the leading denominator coefficient, the gain is the leading numerator coefficient, and the zeros and poles are the roots of the normalised polynomials.