Main Content
tform2rotm
Extract rotation matrix from homogeneous transformation
Syntax
Description
extracts
the rotational component from a homogeneous transformation, rotm
= tform2rotm(tform
)tform
,
and returns it as an orthonormal rotation matrix, rotm
.
The translational components of tform
are ignored.
The input homogeneous transformation must be in the pre-multiply form
for transformations. When using the rotation matrix, premultiply it
with the coordinates to be rotated (as opposed to postmultiplying).
Examples
Input Arguments
Output Arguments
More About
Extended Capabilities
Version History
Introduced in R2015aSee Also
rotm2tform
| se2
| se3
| so2
| so3