Matrix Eigenvalues
The MATEIG block computes the eigenvalues and the eigenvectors of a square input matrix U. When the decomposition type is set to:
The equivalent of the MATEIG block in Scilab is `spec`_
A=[1 12 32;21 35 46;70 8 19]
When the "Decomposition type" is `set`_ to one the output is y=[-35.649;14.279;76.369]
When the "Decomposition type" is `set`_ to two the outputs are:
y1=[-35.649 0.000 0.000;0.000 14.279 0.000;0.000 0.000 76.369]
y2=[0.557 0.080 0.349;0.330 -0.922 0.770;-0.762 0.379 0.533]