normalize
Syntax
Description
normalizes the rotation of the transformation transformationN
= normalize(transformation
)transformation
and
returns a transformation, transformationN
, that is equivalent to
transformation
, but with normalized rotation.
normalizes the rotation of the rotation rotationN
= normalize(rotation
)rotation
and returns a
rotation, rotationN
, that is equivalent to
rotation
, but with normalized rotation.
Note
The transformation and rotation objects do not automatically normalize their
rotations. You must use normalize
each time you need to normalize
a transformation or rotation. You may need to do this if:
You specified an unnormalized input transformation or rotation at the creation of the transformation or rotation object.
You performed many operations on the transformation or rotation objects such as
mtimes, *
, which may cause the transformation or rotation to become unnormalized due to data type precision.
___ = normalize(___,Method=
specifies the normalization method normMethod
)normMethod
that the
normalize
function uses to normalize the specified transformation
or rotation.
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023b