roots function can be used to find roots of a polynomial.
Refer the following link for several different methods to calculate the roots of a polynomial in MATLAB.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!