polystab() - Signal Processing
polystab stabilizes a polynomial with respect
to the unit circle;
it reflects roots with magnitudes greater than 1 inside the unit circle.b = polystab(a) returns
a row vector b containing the stabilized polynomial. a is
a vector of polynomial coefficients, normally in the z-domain:A(z)=a(1)+a(2)z−1+…+a(m+1)z−m.
Syntax
b = polystab(a)
Example
v = roots(a);
vs = 0.5*(sign(abs(v)-1)+1);
v = (1-vs).*v + vs./conj(v);
b = a(1)*poly(v);
Output / Return Value
Limitations
Alternatives / See Also
Reference