Gram-Schmidt Orthonormalization Process

Version 1.0.4 (1,62 KB) von M
A simple code for Gram-Schmidt Orthonormalization where you input a matrix and get its normalized orthogonal equivalent
195 Downloads
Aktualisiert 14 Nov 2020

Lizenz anzeigen

About me (Ahmed Metwalli , Mail : sniperahmed4@gmail.com , Communication Engineer Egypt)

This is a simple code (1 shot code) to force the vectors inside a matrix to be orthogonal and normalized according to Gram-Schmidt Orthonormalization Process .
This code is mainly done for educational cases.

Zitieren als

M (2024). Gram-Schmidt Orthonormalization Process (https://www.mathworks.com/matlabcentral/fileexchange/82758-gram-schmidt-orthonormalization-process), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2011a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.4

Minor changes
if there's an output vector or NaN or 0s so it's linearily dependent

1.0.3

Removed commented for loop

1.0.2

Removed the commented for loop

1.0.1

The code had a problem in the for loop boundaries. This error is now fixed by adjusting the first 2 components (u1 and w2) before entering the loop.
The logic is adjusted in k where k is the number of columns vectors.

1.0.0