运行matlab程序出错

sunliachieve 2015-01-18 05:00:53
出错情况:
Error using eigs/checkInputs/LUfactorAminusSigmaB (line 1041)
The shifted operator is singular. The shift is an eigenvalue.
Try to use some other shift please.


Error in eigs/checkInputs (line 855)
[L,U,pp,qq,dgAsB] = LUfactorAminusSigmaB;
出错代码详情: [L,U,pp,qq,dgAsB] = LUfactorAminusSigmaB;

Error in eigs (line 94)
[A,Amatrix,isrealprob,issymA,n,B,classAB,k,eigs_sigma,whch, ...
出错代码详情:
[A,Amatrix,isrealprob,issymA,n,B,classAB,k,eigs_sigma,whch, ...
sigma,tol,maxit,p,info,eigs_display,cholB,permB,resid,useeig, ...
afunNargs,style,mode,Afactors,Bfactors] = ...
checkInputs(varargin{:});

Error in levytest (line 27)
[shape{k}.evecs,shape{k}.evals] = eigs(shape{k}.W,shape{k}.A,K,'SM');
出错代码详情:[shape{k}.evecs,shape{k}.evals] = eigs(shape{k}.W,shape{k}.A,K,'SM');
...全文
2269 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
lxfhfut 2017-06-28
  • 打赏
  • 举报
回复
[eigVectors, eigValues] = eigs(L+10*eps*speye(N), W+10*eps*speye(N), K, 'SM');
lixiang_whu 2017-04-24
  • 打赏
  • 举报
回复
有人解决了吗?
小仇哥 2016-04-23
  • 打赏
  • 举报
回复
有解决么?我也遇到一样的问题,求回答,感谢。。。
潇萧客 2016-03-31
  • 打赏
  • 举报
回复
有解决的吗?求指导呀
qq_27224603 2015-05-07
  • 打赏
  • 举报
回复
楼主,我这里正在做毕业论文,比较急,希望尽快回复。
qq_27224603 2015-05-07
  • 打赏
  • 举报
回复
楼主,我也是同样的问题。上面那句话是什么意思?怎么解决的?
sunliachieve 2015-02-07
  • 打赏
  • 举报
回复
I just added a multiple of I, 10*eps*speye, to the normalized Laplacian to improve conditioning and that fixed it. 来源于:http://stackoverflow.com/questions/13568158/cryptic-matlab-error-when-computing-eigs
xiaofei_dai 2015-01-31
  • 打赏
  • 举报
回复
楼主问题解决了吗,我也遇到了同样的问题,不知道哪里错了,求告知

4,446

社区成员

发帖
与我相关
我的任务
社区描述
图形图像/机器视觉
社区管理员
  • 机器视觉
  • 迪菲赫尔曼
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧