Convert rotation matrix to a homogeneous transform
T = r2t(R) is an SE(2) or SE(3) homogeneous transform equivalent to an SO(2) or SO(3) orthonormal rotation matrix R with a zero translational component.
Robotics Toolbox for MATLAB © 1990-2014 Peter Corke.