Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %#########
- %yTx=alpha
- %#########
- %y=[x;y]
- %x=[u1;u2]
- %If we modify the equation we get that that y=(-u1/u2)*x+alpha/u2
- %If we take equation for line y=v2/v1*x which goes through origin and v1 and v2 are
- %elemnts of the vector representing the base of the subspace we wanted to find
- %and move it by centroid we get y-t2=v2/v1*x-t1 which then equals to
- %y=v2/v1x-v2/v1*t1+t2 from this we get equations v2/v1x=(-u1/u2)->u1=-v2,u2=v1
- %and alpha/u2=-v2/v1*t1+t2=>alpha=-v2*t1+t2*v1
- %x is already normalized so we dont have to normalize it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement