Clear Filters
Clear Filters

Finding an orthogonal basis for the column space of a matrix

34 views (last 30 days)
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 Comments
John D'Errico
John D'Errico on 7 Sep 2023
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.

Sign in to comment.

Answers (1)

Dheeraj
Dheeraj on 20 Sep 2023
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!

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!