Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. %#########
  2. %yTx=alpha
  3. %#########
  4. %y=[x;y]
  5. %x=[u1;u2]
  6. %If we modify the equation we get that that y=(-u1/u2)*x+alpha/u2
  7. %If we take equation for line y=v2/v1*x which goes through origin and v1 and v2 are
  8. %elemnts of the vector representing the base of the subspace we wanted to find
  9. %and move it by centroid we get y-t2=v2/v1*x-t1 which then equals to
  10. %y=v2/v1x-v2/v1*t1+t2 from this we get equations v2/v1x=(-u1/u2)->u1=-v2,u2=v1
  11. %and alpha/u2=-v2/v1*t1+t2=>alpha=-v2*t1+t2*v1
  12. %x is already normalized so we dont have to normalize it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement