Owning Class: linear systems
Requires: MathScript RT Module
[r, p, k] = residuezd(b, a)
[b2, a2] = residuezd(r2, p2, k2)
Legacy Name: residuez
Computes the z-transform partial fraction expansion of two polynomials or transforms a given partial fraction expansion into the original polynomial representation.
| Name | Description |
|---|---|
| b | Specifies the coefficients in descending order of power of the numerator polynomial. |
| a | Specifies the coefficients in descending order of power of the denominator polynomial. |
| r2 | Specifies the residues of the partial fraction expansion. r2 is a real or complex vector. |
| p2 | Specifies the poles of the partial fraction expansion. p2 is a real or complex vector. |
| k2 | Specifies the coefficients in descending order of power of the quotient polynomial of a2 and b2. |
| Name | Description |
|---|---|
| r | Returns the residues of the partial fraction expansion. r is a real or complex vector. |
| p | Returns the poles of the partial fraction expansion. p is a real or complex vector. |
| k | Returns the coefficients in descending order of power of the quotient polynomial of a and b. |
| b2 | Returns the coefficients in descending order of power of the numerator polynomial. |
| a2 | Returns the coefficients in descending order of power of the denominator polynomial. |
B = [1, 2, 3, 4];
A = [1, 1];
[R, P, K] = residuezd(B, A)