Partial Fraction Expansions

residue finds the partial fraction expansion of the ratio of two polynomials. This is particularly useful for applications that represent systems in transfer function form. For polynomials b and a, if there are no multiple roots,

b(s) divided by a(s) = r sub 1 divided by s minus p sub 1 ... r sub n divided by s miinus p sub n + k sub s

where r is a column vector of residues, p is a column vector of pole locations, and k is a row vector of direct terms. Consider the transfer function

minus 4 s + 8 divided by s squared + 6 s + 8

b = [-4 8];
a = [1 6 8];
[r,p,k] = residue(b,a)

r =
   -12
     8

p =
    -4
    -2

k =
     []

Given three input arguments (r, p, and k), residue converts back to polynomial form:

[b2,a2] = residue(r,p,k)

b2 =
    -4     8
a2 =
     1     6     8
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS