MATLAB: How to represent the roots of a polynomial on a graph

polynomial roots on graphs

how to represent the roots of a polynomial on a graph?

Best Answer

p=[1 2 3 4 5]; % your polynomial x^4+2x^3+3x^2+4x+5
r=roots(p)
scatter(real(r),imag(r),'filled','red')
Related Question