Why do I receive an error when I use the EIGS function in MATLAB 7.0 (R14)?
2 次查看(过去 30 天)
显示 更早的评论
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);
采纳的回答
MathWorks Support Team
2009-10-13
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);
0 个评论
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!