[Scilab-users] Spec function

fujimoto2005 fujimoto2005 at gmail.com
Fri May 22 15:06:22 CEST 2020


This question is about how to use the spec function to calculate eigenvalues.
Suppose a square matrix D is a function of real number b.
I am trying to find the eigenvalues of D for various b with the spec
function.
When I calculate for b = 1 and 3 simultaneously with the attached code, I
get all eigenvalues for b = 1 are 0.
However, I calculate for b = 1 alone , I get an eigenvalue of -0.5 ± 4.97i
and 0 otherwise.
Why are the results of the two methods different? Is the usage of the spec
function wrong? Which result is correct?

Best regards

testSpec.sce <http://mailinglists.scilab.org/file/t497065/testSpec.sce>  



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list