- Category:
- Compiler program
- Tags:
-
- File Size:
- 15kb
- Update:
- 2014-11-13
- Downloads:
- 0 Times
- Uploaded by:
- Amit
Description: roots -Polynomial roots
Syntax
r = roots(c)
Description
r = roots(c) returns a column vector whose elements are the roots of the polynomial c.
Row vector c contains the coefficients of a polynomial, ordered in descending powers. If c has n+1 components, the polynomial it represents is .
Tips
Note the relationship of this function to p = poly(r), which returns a row vector whose elements are the coefficients of the polynomial. For vectors,roots and poly are inverse functions of each other, up to ordering, scaling, and roundoff error.
To Search:
File list (Check if you may need any files):
Matlab project.docx