axang = tform2axang(tform) converts
the rotational component of a homogeneous transformation, tform,
to an axis-angle rotation, axang. The translational
components of tform are ignored. The input homogeneous
transformation must be in the premultiply form for transformations.
Homogeneous transformation, specified by a 4-by-4-by-n matrix
of n homogeneous transformations. The input homogeneous
transformation must be in the premultiply form for transformations.
axang — Rotation given in axis-angle form n-by-4 matrix
Rotation given in axis-angle form, specified as an n-by-4
matrix of n axis-angle rotations. The first three
elements of every row specify the rotation axes, and the last element
defines the rotation angle (in radians).
Example: [1 0 0 pi/2]
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.