A rotation matrix is a matrix that generalizes the concept of a rotation of a set of points around a certain axis, about some arbitrary angle (or consequently rotating the axes about another axis).
For the former, in R3, the rotation about the z-axis is given by:
-
with the equivalent clockwise rotation in R2 can be given from the minor M3,3.
See also