Different results in different computers when using the function "eig" to obtain eigenvectors of a matrix
Show older comments
The version of matlab in my computer is R2014a, and my friend's version is the same with mine. But when we run the same program, we get different results. We found that the function "eig" produced different results in both computers. The eigenvalues are the same but in different orders. What's more, the corresponding eigenvector of the same eigenvalue is not the same. The attachment includes 3 matrixes. The "D1" is the matrix what we want to get eigenvalues and eigenvectors from. The "D" is the matrix of eigenvalues what we obtain in decreasing order. The "B" is the matrix of eigenvectors corresponding to the eigenvalues. The data of attachment is obtained from my computer. As I said before ,my results are different from results in my friend's computer. So, I want to ask that the data of the attachment is right or wrong? Thanks ! :)
Accepted Answer
More Answers (0)
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!