diagonalizing a matrix in two way

36 views (last 30 days)
mim
mim on 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. ``

Accepted Answer

Walter Oevel
Walter Oevel on 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

More Answers (0)

Categories

Find more on Operating on Diagonal Matrices 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!