roots
Find polynomial roots.
Syntax
r = roots(p)
Input argument
p - vector: polynomial coefficients
Output argument
r - roots
Description
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.
Example
See also
poly.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated