A matrix A = [2 2 4; 1 -1 0; 2 1 3; 3 0 3] is given. The caltulation of the column space is done, correct me if I'm wrong:

[B, pivot] = rref(A); % reduced row epsilon form

r = length(pivot);

CS = A(:,pivot) % matrix of pivot columns of A

But now I need to find a projector onto this column space. How can I do this in Matlab?

More Daniel Polterauer's questions See All
Similar questions and discussions