Rotation about Z axis
T = trotz(theta) is a homogeneous transformation (4x4) representing a rotation of theta radians about the z-axis.
T = trotz(theta, 'deg') as above but theta is in degrees.
rotz, trotx, troty, trot2
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.