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 Comments

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.

Sign in to comment.

Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Asked:

B
B
on 21 Nov 2017

Commented:

Jan
on 21 Nov 2017

Community Treasure Hunt

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

Start Hunting!