rotm2tform
Convert rotation matrix to homogeneous transformation
Syntax
Description
converts the rotation matrix tform = rotm2tform(rotm)rotm into a homogeneous
transformation matrix tform. The input rotation matrix must be
in the premultiply form for rotations. When using the transformation matrix,
premultiply it by the coordinates to be transformed (as opposed to
postmultiplying).