# How to plot the root of polynomial in Matlab?

I obtained this polynomial equations:

$$A(z) = 1 - 0.7987 z^{-1} - 0.125 z^{-2} - 0.511 z^{-3} + 0.06889 z^{-4} + 0.3465 z^{-5} + 0.4809 z^{-6} + 0.04951 z^{-7} - 0.5298 z^{-8} + 0.1828 z^{-9}$$

How do I plot the root of this polynomial equation? I want to observe how the roots are moving inside the system.

If the vector a contains the polynomial coefficients, you can compute the roots of the polynomial by
r = roots(a);
plot(r,'x')
• @Hakd: check out the command zplane. – Matt L. Jul 3 '15 at 6:52