Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. ; X_1 Y_2 Z_3 =
  2. ; c_2 c_3 - c_2 s_3 s_2 \\
  3. ; c_1 s_3 + c_3 s_1 s_2 c_1 c_3 - s_1 s_2 s_3 - c_2 s_1 \\
  4. ; s_1 s_3 - c_1 c_3 s_2 c_3 s_1 + c_1 s_2 s_3 c_1 c_2 \\
  5.  
  6.  
  7. ;mat3x3:
  8. ; mat[0]= cos(y)cos(z) = 1/2 (cos(y-z)+cos(y+z))
  9. ; mat[1]= -cos(y)sin(z) = 1/2 (sin(y-z)-sin(y+z))
  10. ; mat[2]= sin(y)
  11. ;
  12. ; mat[3]= sin(x)sin(y)cos(z)+cos(x)sin(z)
  13. ;=1/4 (cos(x-y-z)-cos(x+y-z)+cos(x-y+z)-cos(x+y+z)-2 sin(x-z)+2 sin(x+z))
  14. ;
  15. ; mat[4]=cos(x)cos(z)-sin(x)sin(y)sin(z)
  16. ;=1/4 (2cos(x+z)+2cos(x-z)-sin(x-y+z)+sin(x-y-z)-sin(x+y+z)+sin(x+y-z))
  17. ;
  18. ; mat[5]= -sin(x)cos(y) = 1/2 (-sin(x-y)-sin(x+y))
  19. ;
  20. ; mat[6]=sin(x)sin(z)-cos(x)cos(z)sin(y)
  21. ;=1/4 (2 cos(x-z)-2cos(x+z) -sin(x+y+z)+sin(x-y+z)-sin(x+y-z)+sin(x-y-z))
  22. ;
  23. ; mat[7]=cos(z)sin(x)+cos(x)sin(y)sin(z)
  24. ;=1/4 (2sin(x+z)+2sin(x-z) +cos(x+y-z)-cos(x+y+z)-cos(x-y-z)+cos(x-y+z))
  25. ; mat[8]=cos(x)cos(y) = 1/2 (cos(x-y)+cos(x+y))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement