|
Contents | Previous | Next | Subchapters |
| Syntax |
[r, p, k] = residue (b, a) |
[r, p, k] = residue (b, a, tol) | |
| See Also poly , conv , deconv |
| Name | Description | Length |
r | residues |
M |
p | poles |
M |
k | direct polynomial |
N |
M r N
b[z] --- m --- N-n
---- = > ------------- + > k * z
a[z] --- e(m) --- n
m=1 (z - p ) n=1
m
where for each m,
the exponent e(m) is the maximum integer j such
p = p
m m - j + 1
0.001 is used.
2
b[s] s + s + 1 -2 7 3
---- = ------------------- = ----- + -------- + -----
a[s] 3 2 2
s - 5 s + 8 s - 4 s - 2 (s - 2) s - 1
If you enter
b = [1, 1, 1]
a = [1, -5, 8, -4]
[r, p, k] = residue(b, a)
O-Matrix will calculate the partial fraction expansion above.
If you enter
r
O-Matrix will reply
{
(-2,0)
(7,0)
(3,0)
}
which are the residue values in the expansion.
If you enter
p
O-Matrix will reply
{
(2,0)
(2,0)
(1,0)
}
which are the poles in the expansion.
If you enter
k
O-Matrix will reply
{ }
because the direct term in the expansion is empty.