Eigen Values and Eigen Vectors Matlab

半城伤御伤魂 提交于 2019-12-02 10:03:38

To show orthogonality

>> V'*V-eye(size(V))

ans =

   1.0e-15 *

    0.2220    0.1110    0.2498
    0.1110   -0.4441    0.1388
    0.2498    0.1388    0.4441

To show that the definition of the eigendecomposition is satisfied,

>> A*V - V*D

ans =

   1.0e-13 *

    0.4086    0.0400    0.8527
    0.3908    0.0355    0.5684
    0.1954    0.0355         0

The results won't be exactly zero, because digital computers don't do exact math, but you can see that they're pretty close.

To compute all dot products between columns of V:

M = squeeze(sum(bsxfun(@times, conj(V), permute(V, [1 3 2]))));

The columns of V (eigenvectors) will be orthogonal if the above M is diagonal.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!