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 CenterFile Exchange 中查找有关 Nonlinear Optimization 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by