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!