Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

wrong eigen vectors

CHOTA CHATRICHOTA CHATRI Posts: 2Member
i'm using matlab7.can somebody plz tell me why the eigen vectors which is calculated by matlab are not the actual answers(which we calculate mathematically) whereas the eigen values come up correctly.
for eg.
[code]
>> a=[3 1 4;0 2 0;0 0 5]

a =

3 1 4
0 2 0
0 0 5

>> [v,d]=eig(a)

v =

1.0000 -0.7071 0.8944
0 0.7071 0
0 0 0.4472


d =

3 0 0
0 2 0
0 0 5
[/code]
but if we calculate eigen values and eigen vectors of a mathematically,they come out to be
5,-3,-3;(1,2,-1),(2,-1,0),(3,0,1).
thanks in advance
Sign In or Register to comment.