Home Forums eigenvectors and spectral decomposition

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #1837
    hessinemaaoui
    Keymaster

    How do we do spectral decomposition (eigendecomposition) of a Hermitian matrix? I wasn’t able to get the orthonormal basis of eigenvectors if the characteristic equation has multiple roots. Thanks.

    In R, we can do something like this:

    > x <- diag(rep(1, 4))
    > eigen(x)

    $values
    [1] 1 1 1 1

    $vectors
        [,1] [,2] [,3] [,4]
    [1,]    0    0    0    1
    [2,]    0    0    1    0
    [3,]    0    1    0    0
    [4,]    1    0    0    0

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.