Wolfram Research
Wolfram Math World: Rotational Transformation Matrix
Math World offers the transformational matrix that allows us to rotate a two dimensional coordinate which in turn rotates the image. The page also offers the transformational matrix for rotation in three dimensions.