Contents

clc
clear all

EJERCICIO 4

Hallar los autovalores y autovectores de la matriz A:

AUTOVALORES DE UNA MATRIZ

A=[0,1,-1;-6,-11,6;-6,-11,5]

autovalores=eig(A)
A =

     0     1    -1
    -6   -11     6
    -6   -11     5


autovalores =

   -1.0000
   -2.0000
   -3.0000

AUTOVECTORES DE UNA MATRIZ

[autovect autoval]=eig(A)
autovect =

    0.7071   -0.2182   -0.0921
    0.0000   -0.4364   -0.5523
    0.7071   -0.8729   -0.8285


autoval =

   -1.0000         0         0
         0   -2.0000         0
         0         0   -3.0000