Gram-Schmidt Orthonormalization Process

A simple code for Gram-Schmidt Orthonormalization where you input a matrix and get its normalized orthogonal equivalent

現在この提出コンテンツをフォロー中です。

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.

引用

M (2026). Gram-Schmidt Orthonormalization Process (https://jp.mathworks.com/matlabcentral/fileexchange/82758-gram-schmidt-orthonormalization-process), MATLAB Central File Exchange. に取得済み.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
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