Why do I receive an error when I use the EIGS function in MATLAB 7.0 (R14)?

2 visualizzazioni (ultimi 30 giorni)
I use the following code to load a sparse matrix and determine its eigenvalue with the largest real part:
load matlabmat;
eigs(O, 1, 'lr');
However, I receive the following error:
??? Error using ==> eigs>processEUPDinfo
Error with ARPACK routine dneupd:
dnaupd did not find any eigenvalues to sufficient accuracy.
Error in ==> eigs at 369
flag = processEUPDinfo(nargin<3);

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 13 Ott 2009
This error occurs when the input matrix of the EIGS function has a very high condition number, which makes EIGS unable to converge to the default tolerance of EPS.
As a workaround, reduce the tolerance of EIGS using the following commands:
opts.tol = 1e-3;
eigs(O, 1, 'lr', opts);

Più risposte (0)

Categorie

Scopri di più su Linear Algebra in Help Center e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by