compute symbolic eigen values
显示 更早的评论
I have been trying this code
clear
syms avin positive real
syms avaux positive real
syms avlatch positive real
syms lambda
A=-[1 0 avaux 0 avlatch 0 0 avin;...
avin 1 0 avaux 0 avlatch 0 0;...
0 avin 1 0 avaux 0 avlatch 0;...
0 0 avin 1 0 avaux 0 avlatch;...
avlatch 0 0 avin 1 0 avaux 0;...
0 avlatch 0 0 avin 1 0 avaux;...
avaux 0 avlatch 0 0 avin 1 0;...
0 avaux 0 avlatch 0 0 avin 1];
[V,D]=eig(A);
One of the eigen values is known to be avin/sqrt(2)+avlatch-1+1i(avin/sqrt(2)+avaux), but eig doesn't find it.
in fact if I do
lambda=avin/sqrt(2)+avlatch-1+1i(avin/sqrt(2)+avaux)
detA=det(A-lambda*eye(8,8)) it evaluates to zero, but the eig function can't find that eigen value (or can't properly simplify to that value. Using simplify on the output of eig does not help.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!