Projection onto subspace given set of LI vectors

asked 0 years ago

relma2 gravatar image

updated 0 years ago

FrédéricC gravatar image

I want a subroutine to find the Projection Matrix onto a subspace given a set of linearly independent vectors of that subspace. Suppose I have vectors v1,v2,vn and the Vector space span(vi). How do I get the projection matrix onto that span?

Preview: (hide)

Comments

This looks like a homework. I guess you mean orthogonal projection (othewise some information is missing). How would you construct such a matrix mathematically ?

tmonteil gravatar imagetmonteil ( 0 years ago )