Finding eigenvectors of a matrix when all eigenvalues are known

4 vues (au cours des 30 derniers jours)
David Holdaway
David Holdaway le 8 Mai 2012
I am currently running a code that has to diagonalise a large number of matrices every run. From other considerations I know what all the eigenvalues of these matrices will be before this calculation start (up to some eps level round off introduced by the code), this there any way I can use this to speed up the diagonalisation?
More specifically I want to keep only eigenvectors with eigenvalue zero, of which there are, say, "n" and denote the set off all such vectors as "Vset". Let us call the matrix 'M' then I wish to solve the problem:
M*Vset = zeros(size(Vset))
(Linsolve doesn't seem to work for this problem!)
Edit: Also all my matrix elements are double precision and real, all eigenvalues are non-negative integers and all eigenvectors will be real, also the matrix is not sparse.
  2 commentaires
Wayne King
Wayne King le 8 Mai 2012
"More specifically I want to keep only eigenvectors with eigenvalue zero"
"all eigenvalues are positive integers"
which statement is true?
David Holdaway
David Holdaway le 8 Mai 2012
The former, I've corrected it

Connectez-vous pour commenter.

Réponse acceptée

James Tursa
James Tursa le 8 Mai 2012
Sounds like you are simply looking for the null space of M:
Vset = null(M);
  1 commentaire
David Holdaway
David Holdaway le 8 Mai 2012
That would be exactly what I am trying to do! Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by