Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Login with GitLab

Basic question about solving Matrix eigen values and vector

(0 downloads for this version - 0 downloads for all versions)
Peter Valencic
Peter Valencic
Supported Scilab Version
Creation Date
December 19, 2015
I'am totaly new with scilab and I don't know how to solve the eigen values and
vector for some matrix..
for example I have this matrix

A=(2 5 2 9;6 9 1 1;2 5 3 7;1 4 8 9)

thank you

Files (0)
News (0)
Comments (1)     Leave a comment 
Comment from Felipe Pérez -- December 21, 2015, 04:25:13 AM    

In Scilab is not so hard to solve an eigenvalue-eigenvector problem. Just use the "
spec "
built-in function. 

To solve your particular problem, you may want to follow this way:

-->A=[2 5 2 9;6 9 1 1;2 5 3 7;1 4 8 9];

-->[vectors, values] = spec (A) //And hit ENTER

You should receive as answer a diagonal square matrix with the eigenvalues on the main
diagonal, and another square matrix with its columns corresponding to the eigenvectors.

Happy coding!

Felipe Pérez
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.