SO(2) Rotation matrix
R = rot2(theta) is an SO(2) rotation matrix representing a rotation of theta radians.
R = rot2(theta, 'deg') as above but theta is in degrees.
trot2, rotx, roty, rotz
© 1990-2014 Peter Corke.