Eigenvalues of QT matrices

Go to: Back / Home Page

The function eig_all computes the spectrum of a QT matrix $A$. This is returned decomposed as the isolated eigenvalues, and the continuous part.

Contents

Syntax

The optionl parameter are pairs 'option' and value as follows:

Example

E = [ zeros(3, 7) , diag([ 8, -8, 8 ]) ];
A = cqt([0 1 -2 1], [0 1 1 0 -1 0 0 1], E);

xisolated = eig_all(A);
plot(xisolated, 'r*'); hold on;

It is possible to directly plot the eigenvalues and the boundary of the spectrum (obtained using the command range) by supplying the parameter 'plotfig' set to true.

eig_all(A, 'plotfig', true);