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

조회 수: 42(최근 30일)
abhishek shukla 2019년 12월 12일
답변: Raj 2019년 12월 12일
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.

댓글을 달려면 로그인하십시오.

### 답변(2개)

Raj 2019년 12월 12일
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표시숨기기 이전 댓글 수: -1

댓글을 달려면 로그인하십시오.

Hiro 2019년 12월 12일
a is supposed to be in its size otherwise you can calculate neither eigen values nor eigen vectors to begin with.
##### 댓글 수: 1표시숨기기 없음
Raj 2019년 12월 12일
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.

댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!