Please help! How to use the vector z (the component of b orthogonal to ColA) to calculate the distance from b to ColA by using built-in function norm?
1 回表示 (過去 30 日間)
古いコメントを表示
Theory: When the columns of A are linearly independent, a vector p is the orthogonal projection of a vector b∉ Col A onto the Col A if and only if p x = Aˆ , where xˆ is the unique least-squares solution of Ax b = , or equivalently, the unique solution of the normal equations T T AA A x b = . Also, if p is the orthogonal projection of a vector b onto Col A, then there exists a unique vector z, such that, z bp = − and z is orthogonal to Col A
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Nonlinear Optimization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!