polystab
R2026bStabilize polynomial
Syntax
Description
Examples
Input Arguments
Output Arguments
Algorithms
The polystab function finds the roots of the polynomial, maps the
roots found outside the unit circle, and relocates them to the inside of the unit
circle:
v = roots(a); vs = 0.5*(sign(abs(v)-1)+1); v = (1-vs).*v + vs./conj(v); b = a(1)*poly(v);
Note
You might encounter numerical instabilities when using polystab
for some high-order FIR filters. This limitation occurs because a high-order polynomial is
more prone to amplify numerical precision differences at the highest-degree terms. To obtain
better results, split a into low-order polynomials. For an example, see
Relocate FIR Filter Zeros Inside Unit Circle.
Extended Capabilities
Version History
Introduced before R2006aSee Also
islinphase | isminphase | roots | zplane



