Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Please login or create an account
Dear visitors/customers, we are migrating most of Scilab services into a new data center.
Note that login/registration will not be available for the moment.

Basic question about solving Matrix eigen values and vector

..
(0 downloads for this version - 0 downloads for all versions)
Details
Version
1.0
Author
Peter Valencic
Maintainer
Peter Valencic
Category
License
Supported Scilab Version
Creation Date
December 19, 2015
Description
            Hi,
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    
Hello

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.
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.