Main Content

simscape.multibody.RotationMatrixRotation Class

Namespace: simscape.multibody
Superclasses: simscape.multibody.Rotation

Construct rotation by using rotation matrix

Since R2022a

Description

Use an object of the simscape.multibody.RotationMatrixRotation class to construct a 3-D rotation by using a rotation matrix specified by the Matrix property. The rotation matrix is a 3-by-3 matrix that is orthogonal and has the determinant of 1.

Class Attributes

Sealed
true
ConstructOnLoad
true
RestrictsSubclassing
true

For information on class attributes, see Class Attributes.

Creation

Description

R = simscape.multibody.RotationMatrixRotation creates a rotation with a 3-by-3 identity matrix.

R = simscape.multibody.RotationMatrixRotation(M) creates a rotation with the specified rotation matrix.

Properties

expand all

Rotation matrix, specified as a 3-by-3 matrix that is orthogonal and has the determinant of 1.

Example: [-0.3651 0.8165 0.4472;0.1826 -0.4082 0.8944;0.9129 0.4082 0]

Attributes:

GetAccess
public
SetAccess
public
NonCopyable
true

Version History

Introduced in R2022a