| << polyvalm | Polynomials |
| r = roots(p) |
vector: polynomial coefficients
roots
r = roots(c) finds the roots of the polynomial c. r is a column vector.
This function uses the companion matrix of the polynomial to find the roots.
p = [1 0 0 0 -1];
r = roots(p)
poly.
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET