so2
Description
The so2
object represents an SO(2) rotation in
2-D.
For more information, see the 2-D Orthonormal Rotation Matrix section.
This object acts like a numerical matrix, enabling you to compose rotations using multiplication and division.
Creation
Syntax
Description
rotation = so2
creates an SO(2) rotation representing an
identity rotation with no translation.
rotation = so2(
creates an SO(2)
rotation rotation
)rotation
representing a pure rotation defined by the
orthonormal rotation rotation
.
rotation = so2(
creates an
SO(2) rotation from the SE(2) transformation transformation
)transformation
.
Note
If any inputs contain more than one rotation, the output rotation
is an N-element array of so2
objects
corresponding to each of the N input rotations.