SE2 rotation matrix
T = trot2(theta) is a homogeneous transformation (3x3) representing a rotation of theta radians.
T = trot2(theta, 'deg') as above but theta is in degrees.
rot2, transl2, trotx, troty, trotz
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.