eigenvalues and eigenvectors (different solution between matlab and book) Could you please help me to solve this?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Emmanuel Vidales
il 15 Ott 2017
Commentato: Emmanuel Vidales
il 27 Ott 2017
Hello,
I can't to figure out how to match the results between my book and matlab, I really appreciate if you help me to understand this topic.
My book:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168288/image.png)
But when I use Matlab the solutions are these:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168290/image.png)
The eigenvalues are matched, but eigenvectors are different.
If I try to solve through linsolve function when I equal the function to zero, this happens:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/168292/image.png)
I don't know what is my mistake.
Thank you!!
0 Commenti
Risposta accettata
David Goodmanson
il 16 Ott 2017
Modificato: David Goodmanson
il 16 Ott 2017
Hi Emmanuel,
Eigenvectors are not defined uniquely, in the sense that if v is an eigenvector of M, then any nonzero constant times v is also an eigenvector of M. In your case for eigenvalue 0, the book eigenvector is [2; -1] and the Matlab eigenvector is V(:,1) = [-.8944; .4472]. These differ only by an overall multiplicative constant. Similarly for eigenvalue 5, [1; 2] and [.4472; .8944] differ only by an overall multiplicative constant. It's necessary to make a definite choice and Matlab defines its eigenvectors so that norm(eigenvector) = 1 but this is not a requirement.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Linear Algebra in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!