| New Reply |
rotation matrix |
Share Thread | Thread Tools |
| Mar30-12, 03:57 AM | #1 |
| Mar30-12, 06:29 AM | #2 |
|
|
Rotation about the x-axis through angle [itex]\alpha[/itex] is given by the matrix
[tex]\begin{bmatrix}1 & 0 & 0 \\ 0 & cos(\alpha) & -sin(\alpha) \\ 0 & sin(\alpha) & cos(\alpha)\end{bmatrix}[/tex] Rotation about the y-axis through angle [itex]\beta[/itex] is given by the matrix [tex]\begin{bmatrix}cos(\beta) & 0 & -sin(\beta) \\ 0 & 1 & 0 \\ sin(\beta) & 0 & cos(\beta)\end{bmatrix}[/tex] Rotation about the z-axis through angle [itex]\gamma[/itex] is given by the matrix [tex]\begin{bmatrix} cos(\gamma) & -sin(\gamma) & 0 \\ sin(\gamma) & cos(\gamma) & 0 \\ 0 & 0 & 1\end{bmatrix}[/tex] The result of all those rotations is the product of those matrices. Be sure to multiply in the correct order. |
| Mar30-12, 09:49 AM | #3 |
|
|
I suspect that there's a minus sign somewhere wrongly placed in your matrices Halls, am I correct? I moved the minus sign in your second matrix to the lower sine but there's still something wrong for this is my result:
Code:
[ cos(a)cos(b), -sin(b), cos(b)sin(a) ] [ sin(a)sin(c) + cos(a)cos(c)sin(b) cos(b)cos(c) cos(c)*sin(a)sin(b) - cos(a)sin(c) ] [ cos(a)sin(b)sin(c) - cos(c)sin(a) cos(b)*sin(c) cos(a)cos(c) + sin(a)sin(b)sin(c) ] |
| Mar30-12, 10:23 AM | #4 |
|
|
rotation matrix
No, all of the minus signs are correctly placed. I am, of course, assuming that a positive angle gives a rotation "counterclockwise" looking at the plane from "above"- from the positive axis of rotation.
|
| Mar30-12, 10:36 AM | #5 |
|
|
But the wiki page shows a different position for the minus sign of your second matrix:
http://en.wikipedia.org/wiki/Rotation_matrix. |
| Mar30-12, 12:56 PM | #6 |
|
Mentor
|
|
| New Reply |
| Thread Tools | |
Similar Threads for: rotation matrix
|
||||
| Thread | Forum | Replies | ||
| rotation matrix | Advanced Physics Homework | 0 | ||
| Shankar 12.4.4 - "the" rotation matrix vs. "a" rotation matrix (tensor operators QM) | Advanced Physics Homework | 2 | ||
| rotation matrix vs regular matrix | Linear & Abstract Algebra | 5 | ||
| Construct a rotation matrix out of another rotation matrix | General Math | 2 | ||
| How do you use a Rotation Matrix in 2-D? | Introductory Physics Homework | 3 | ||