rotationMatrix

rotationMatrix(theta)

rotationMatrix(theta, v)

rotationMatrix(theta, v, format)

Returns a 2-D rotation matrix (2x2) for a given angle (in radians). Returns a 2-D rotation matrix (3x3) of a given angle (in radians) around given axis.

Try it yourself:

See also:
All functions