how to find roots of polynomial in matlab

Question : Find roots of polynomial in matlab Solution : Let given polynomials as \[p=x^3+\frac{7}{20}x^2-\frac{177}{400}x-\frac{33}{1600}\] \[q=3x^2+\frac{7}{10}x-\frac{177}{400}\] Now to find their roots in matlab as follows First we shall write polynomial p as a vector >> p=[1,7/20,-177/400,-33/1600] p = 1.000000 0.350000…

This Question has been answered. 

Please Login or Register to See The Answer