squaremeplz
- 114
- 0
Homework Statement
When generating a matrix from eigenvectors, does it matter in which order
the columns are placed?
This is, exactly,squaremeplease said:Sorry I am trying to diagonalize the matrix h
I used MATLAB to check my results:
h =
2 1 0
1 2 1
0 0 2
>> [e,r] = eig(h)
e =
0.7071 -0.7071 -0.7071
0.7071 0.7071 0
0 0 0.7071
and if you normalize the vectors first, this isr =
3 0 0
0 1 0
0 0 2
The eigenvalues I get are 1;2;3 and and my eigenvector matrix is a bit differnt than e when I do it out by hand:
1 -1 -1
1 1 0
0 0 1
Yes, did you try it? If e isbut since c[1;1;0] where c is any scalar; I am assuming it's the same thing due to the ratios. However, you are saying that I can use the matrix r instead? I know the arithmetic, this is just a bit confusing. Thanks again.
I think r might be my end result, but the way I am trying to get it is
e^(-1) * h * e = r
is this correct?