diagonalizing a matrix in two way

24 vues (au cours des 30 derniers jours)
mim
mim le 15 Oct 2012
I diagonalize a matrix by using eig and then I change the matrix to symbolic for by A=sym(A) and them diagonalize it again, the two orthogonal matrix that I get from this two ways are not the same and I do not know why. ``

Réponse acceptée

Walter Oevel
Walter Oevel le 15 Oct 2012
Eigenvectors are not unique.
1) The ordering as columns/rows of a matrix must match the ordering of the eigenvalues in the diagonalized matrix.
2) The normalization of the eigenvectors is rather arbitrary.
The strategies for ordering and normalization in MATLAB's eig may be different for numerical input and for symbolic input.
If you have more detailed questions, please provide more information on the example(s) that puzzle(s) you (in particular, provide the input matrix).
Regards,
Walter Oevel

Plus de réponses (0)

Catégories

En savoir plus sur Operating on Diagonal Matrices dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by