MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]有关特征值 (https://www.labfans.com/bbs/showthread.php?t=4139)

piano 2008-08-16 18:09

[求助]有关特征值
 
eigs怎么是返回最多6个特征值的
大于6个就有Warning 要不要紧啊
还有其他好的函数用吗

叉叉 2008-08-17 22:25

回复: [求助]matlab多项式的问题
 
要看是什么警告吧!!!6个以上的特征值求法 可能引起,内存溢出啊。。。

piano 2008-08-18 21:38

回复: [求助]matlab多项式的问题
 
Warning: For real symmetric problems, must
have number of eigenvalues k < n.


function varargout = eigs(varargin)
%EIGS Find a few eigenvalues and eigenvectors of a matrix using ARPACK
% D = EIGS(A) returns a vector of A's 6 largest magnitude eigenvalues.
% A must be square and should be large and sparse.
%
% [V,D] = EIGS(A) returns a diagonal matrix D of A's 6 largest magnitude
% eigenvalues and a matrix V whose columns are the corresponding
% eigenvectors.

叉叉 2008-08-18 23:19

回复: 求助 有关特征值
 
A's 6 largest magnitude eigenvalues 这句话 好像就是说的最大只能6个特征值。


如果楼主还想多特征值的话 可以考虑自己编函数啊。


所有时间均为北京时间。现在的时间是 03:09

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.