how can we find eigen values and eigen vector of a matrix having variable like x or y ?
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(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 个评论
Hiro Yoshino
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!