Search Introduction to Digital Filters
Book Index | Global Index
Would you like to be notified by email when Julius Orion Smith III publishes a new entry into his blog?
Method
As can be seen from the code listing, this implementation of
residuez simply calls residue, which was written to
carry out the partial fraction expansions of
-plane
(continuous-time) transfer functions
:
where
is the ``quotient'' and
is the ``remainder'' in the PFE:
where

is the order of the quotient polynomial in

,
and

is the
multiplicity of the

th
pole. (When all
poles are distinct, we have

for all

.) For

, we
define

.
In the discrete-time case, we have the
-plane transfer function
For compatibility with
Matlab's
residuez, we need a PFE of the form

such that
where
.
We see that the
-plane case formally does what we desire if we
treat
-plane polynomials as polynomials in
instead of
. From Eq.
(J.2), we see that this requires reversing the
coefficient-order of B and A in the call to
residue. In the returned result, we obtain terms such as
where the second form is simply the desired canonical form for

-plane PFE terms. Thus, the

th pole is
and the

th residue is
Finally, the returned quotient polynomial must be flipped for the same
reason that the input polynomials needed to be flipped (to convert
from left-to-right descending powers of

[

] in the returned
result to ascending powers of

).
Previous:
Partial Fraction Expansion: residuez.mNext:
Example with Repeated Poles
written by Julius Orion Smith III
Julius Smith's background is in electrical engineering (BS Rice 1975, PhD Stanford 1983). He is presently Professor of Music and Associate Professor (by courtesy) of Electrical Engineering at
Stanford's Center for Computer Research in Music and Acoustics (CCRMA), teaching courses and pursuing research related to signal processing applied to music and audio systems. See
http://ccrma.stanford.edu/~jos/ for details.