Finding an orthogonal basis for the column space of a matrix

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 Commenti

Orthonormal is also orthogonal, isn't it ?
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.

Accedi per commentare.

Risposte (1)

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!

Richiesto:

Bea
il 7 Set 2023

Risposto:

il 20 Set 2023

Community Treasure Hunt

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

Start Hunting!

Translated by