Member of the linear systems class.
b = polystab(a)
Stabilizes a polynomial by ensuring that all roots of the polynomial a are located within the unit circle. If a root is located outside of the unit circle, polystab uses a circle-based geometric reflection to reflect the root inside of the unit circle.
| Name | Description |
| a | Specifies a polynomial. |
| Name | Description |
| b | Returns a stabilized polynomial. |
a = rand(1, 6);
b = polystab(a);
ra = roots(a);
rb = roots(b);
plot(real(ra), imag(ra), 'ro', real(rb), imag(rb), 'b*')