matlab 正交特征向量,怎么对一个矩阵进行对称正交化?? matlab
满意答案ORTHOrthogonalization.Q = ORTH(A) is an orthonormal basis for the range of A.That is, Q'*Q = I, the columns of Q span the same space asthe columns of A, and the number of columns of Q is theran...
满意答案
ORTH Orthogonalization.
Q = ORTH(A) is an orthonormal basis for the range of A.
That is, Q'*Q = I, the columns of Q span the same space as
the columns of A, and the number of columns of Q is the
rank of A.
Class support for input A:
float: double, single
>> a1=[1;0;-1;0]
a1 =
1
0
-1
0
>> a2=[1;-1;0;1];
>> a3=[-1;1;1;0];
>> Q=orth([a1 a2 a3])
Q =
-0.6928 0.0587 -0.4280
0.5046 0.4078 -0.7609
0.4589 -0.6730 -0.0563
-0.2339 -0.6143 -0.4843
>> Q'*Q
ans =
1.0000 0 -0.0000
0 1.0000 0.0000
-0.0000 0.0000 1.0000
Q就是正交化后的矩阵,orth()是正交化函数
00分享举报
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐


所有评论(0)