MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB数学相关] 求教,关于Improper assignment with rectangular empty matrix的问题 (https://www.labfans.com/bbs/showthread.php?t=11148)

freedom2028 2010-04-02 10:07

求教,关于Improper assignment with rectangular empty matrix的问题
 
运行以下程序发现[COLOR="Red"]Improper assignment with rectangular empty matrix[/COLOR]错误,请大家帮忙解决
A=[1 -3 3;3 -5 3;6 -6 4];
B=eig(A);
B=eig(A);
C=sort(B,'descend');
MIN_NUM=-99;
D=zeros([3 3]);
for i=1:3
temp=C(i);
D(:,i)=null(A+temp*eye(length(A)));
C(i)=MIN_NUM;
end


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

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