diagonalizing a matrix in two way

24 Ansichten (letzte 30 Tage)
mim
mim am 15 Okt. 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. ``

Akzeptierte Antwort

Walter Oevel
Walter Oevel am 15 Okt. 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

Weitere Antworten (0)

Kategorien

Mehr zu Operating on Diagonal Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by