MATLAB executes the above statements and returns the following result − The roots function calculates the roots of a polynomial. For example, to calculate the roots of our polynomial p, type − MATLAB executes the above statements and returns the following result −
For More Information Please Refer: