% Numerical Mathematics and Computing, Fifth Edition % Ward Cheney & David Kincaid % Brooks/Cole Publ. Co. % (c) 2003 % % file: poly_roots1.m % % find the roots of the polynomial x^3 - 2x^2 + x - 3 p = [1 -2 1 -3] r = roots(p)