compute symbolic eigen values
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Linear Algebra en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!