close all; clear all; clc; X = [-1 -1 -1;2 -2 0;1 1 -1]; Y = gramSchmidt(X)