axang= tform2axang(tform)converts the rotational component of a homogeneous transformation,tform, to an axis-angle rotation,axang. The translational components oftformare ignored. The input homogeneous transformation must be in the premultiply form for transformations.
Homogeneous transformation, specified by a 4-by-4-by-nmatrix ofnhomogeneous transformations. The input homogeneous transformation must be in the premultiply form for transformations.
Rotation given in axis-angle form, specified as ann4矩阵ofnaxis-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™.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.