How to use tf2zp command in MATLAB?
The command tf2zp is used to obtain the zeros z, poles p and gain k of the transfer function defined by its numerator and denominator polynomials, n and d, respectively. The syntax is given as follows: [z, p, k] = tf2zp(n, d);
How do you find the residue of a function in MATLAB?
[ b , a ] = residue( r , p , k ) converts the partial fraction expansion back to the ratio of two polynomials and returns the coefficients in b and a .