Mo logo [home] [lexicon] [problems] [tests] [courses] [auxiliaries] [notes] [staff] german flag

Mathematik-Online lexicon:

Example: MATLAB - Eigenvalues and Eigenvectors


A B C D E F G H I J K L M N O P Q R S T U V W X Y Z overview

>> A=[2 1 1;1 1 0;1 0 1];
>> w=eig(A)

w =

    0.0000
    1.0000
    3.0000

>> [V,D]=eig(A)        
V =                               
   -0.5774   -0.0000    0.8165     
    0.5774   -0.7071    0.4082     
    0.5774    0.7071    0.4082     
D =                                 
    0.0000         0         0       
         0    1.0000         0       
         0         0    3.0000       

>> V^-1*A*V
ans =
   -0.0000    0.0000   -0.0000
    0.0000    1.0000   -0.0000
    0.0000   -0.0000    3.0000
(Authors: Burkhardt/Höllig/Hörner )

see also:


  automatisch erstellt am 9.  2. 2005