Back to Polynomial Functions
roots
Polynomial roots (M-Code convention)
Syntax
r = roots(p)
Description
Finds roots of a polynomial specified by descending-order coefficients [a_n, ..., a_1, a_0].
Parameters
| Name | Description |
|---|---|
| p | Coefficient vector in descending order |
Returns
Column vector of roots