MATLAB Answers

how can we find eigen values and eigen vector of a matrix having variable like x or y ?

3 views (last 30 days)
abhishek shukla
abhishek shukla on 12 Dec 2019
Answered: Raj on 12 Dec 2019
how can we find eigen values and eigen vector of a matrix having variable like x or y ?
we have matix
a = [ 2, 1+z^-1 ; z+1 2];
i want to find eigen values of a.

  0 Comments

Sign in to comment.

Answers (2)

Raj
Raj on 12 Dec 2019
You need to have 'Symbolic Math toolbox' to do this. Then you can calculate the Eigen values & Eigen vectors in terms of the variables something like this:
syms z;
a = [ 2, 1+z^-1 ; z+1 2];
[V,D]=eig(A);

  0 Comments

Sign in to comment.


Hiro Yoshino
Hiro Yoshino on 12 Dec 2019
a is supposed to be in its size otherwise you can calculate neither eigen values nor eigen vectors to begin with.

  1 Comment

Raj
Raj on 12 Dec 2019
Correct but the 'a' matrix given in question is a 2x2 matrix. So the matrix is square and I don't see any problem here.

Sign in to comment.

Sign in to answer this question.

Tags