Man Scilab

roots
Scilab Function

roots - roots of polynomials

Calling Sequence

[x]=roots(p)

Parameters

Description

x=roots(p) returns in the complex vector x the roots of the polynomial p . Degree of p must be <=100.

Examples


p=poly([0,10,1+%i,1-%i],'x');
roots(p)
A=rand(3,3);roots(poly(A,'x'))    // Evals by characteristic polynomial
spec(A) 
 
  

See Also

poly ,  

Back