FOR GRAM SCHMIDT:
enter the basis in a form of matrix where each row correspond to individual basis ie in the form of [U1;U2;U3.....;Un] where U1,U2,U3.... are the individual basis vector.
if U1=(1 1 1) U2= (0 1 1) U3=(0 0 1)
THEN our matrix is [1 1 1 ; 0 1 1 ;0 0 1]
our final orthogonal basis are also is in the form of matrix where each row correspond to the individual orthogonal basis.
ankit gupta (2021). gramm_schmidt(x) (https://www.mathworks.com/matlabcentral/fileexchange/64000-gramm_schmidt-x), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!