Find eigenvalues and eigenvectors
Scilab equivalent for eig(A) is spec(A). Scilab eigenvector matrix can differ from Matlab one.
There is no Scilab equivalent for "nobalance" option. See examples.
There is no Scilab equivalent for flag.
![]() | If matrix B is nonsingular, the generalized eigenvalues can be computed
as the eigenvalues of the matrix i.e. d=spec(B^-1*A). |
![]() | If A is a real random square matrix, Scilab equivalent for the Matlab syntax [V,D] = eig(A,'balance')
is [D,V] = bdiag(A+%i*0, 1/%eps). In this case D consists of complex 1x1 blocks. |
| Matlab | Scilab |