rotx: A 3x3 rotation matrix allowing rotation about the x-axis.
Constructed using a cosine rotation matrix where the rotation angle in
degrees is measured counterclockwise allowing positive rotation under
the right hand rule.
Description
A 3x3 rotation matrix allowing rotation about the x-axis.
Constructed using a cosine rotation matrix where the rotation angle in
degrees is measured counterclockwise allowing positive rotation under
the right hand rule.
Usage
rotx(angle)
Arguments
angle
a scalar representing the angle to rotate (degrees)
Value
a 3x3 matrix representing the rotation about the x-axis by the
given angle