Finding an orthogonal basis for the column space of a matrix
49 次查看(过去 30 天)
显示 更早的评论
How do you find an orthogonal basis for the column space of a matrix? Because if you use orth, you get the ortonormal basis...
2 个评论
John D'Errico
2023-9-7
If you just want an orthogonal basis, then start with orth. Then multiply the column basis that results by a set of random numbers. They will still be orthogonal, but almost certainly no longer orthonormal.
Or, you can just recognize that orthonormal IS orthogonal, just a special case of orthogonal.
回答(1 个)
Dheeraj
2023-9-20
Hi,
I understand that you want ways to find orthogonal basis for a column matrix. It's possible but not with “orth” function as it generates orthonormal basis which you do not intend to find.
To find an orthogonal basis for the column space of a matrix without normalizing the vectors to make them orthonormal, you can use orthogonalization techniques such as the Gram-Schmidt process. The Gram-Schmidt process takes a set of linearly independent vectors and transforms them into a set of orthogonal vectors.
Gram-Schmidt process can be implemented in MATLAB from scratch, or you could use the package that implements Gram-Schmidt process, through MATLAB File exchange with the link below.
Also, you can refer to the below link to have a better understanding about Gram-Schmidt process.
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!