How can I get an eigenvector with matlab if i know the corresponding eigenvalue.

The task: "Use MATLAB to help you find an eigenvector for A with eigenvalue 1, with every entry in the eigenvector being a non-negative real number". From this, I suppose I have to use the fact that the eigenvalue is 1 but I do not know how to do that in MATLAB. Would I still use the eig() function? If so, how?

3 commentaires

Z = null(A-lambda*eye(size(A,1)))
?
Best wishes
Torsten.
It depends. If you have heard a lesson about algorithms to calculate eigen vectors, using the built-in eig is most likely not wanted. But if you use eig, the eigen values and vectors are replied. Then it is not hard to search for a value of 1.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange

Question posée :

B
B
le 21 Nov 2017

Commenté :

Jan
le 21 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by