A clockwise rotation by an angle \(\theta\) about the origin can be represented by the following rotation matrix:
\[
R_{\text{clockwise}}(\theta) = \begin{bmatrix}
\cos(\theta) & \sin(\theta) \\
-\sin(\theta) & \cos(\theta)
\end{bmatrix}
\]
For a counterclockwise
Show more…