Rotation about Z axis
R = rotz(theta) is a rotation matrix representing a rotation of theta radians about the z-axis.
R = rotz(theta, 'deg') as above but theta is in degrees.
rotx, roty, angvec2r
© 1990-2012 Peter Corke.