Back to Polynomial Functions
polyroots
Find power series polynomial roots
Syntax
r = polyroots(c)
Description
Finds roots of a power series polynomial using companion matrix eigenvalues.
Parameters
| Name | Description |
|---|---|
| c | Coefficient array in ascending order |
Returns
Array of roots
Examples
Try It
>> polyroots([-1 0 1])