rotx

3x3 transformation matrix for rotations around x-axis

Syntax

  • rm = rotx(angle)

Input argument

  • angle - angle in degree: scalar value.

Output argument

  • rm - 3x3 transformation matrix: real-valued orthogonal matrix.

Description

rotx returns 3x3 transformation matrix for rotations around x-axis.

Bibliography

Goldstein, H., C. Poole and J. Safko, Classical Mechanics, 3rd Edition, San Francisco: Addison Wesley, 2002, pp. 142–144.

Example

r = rotx(90)

See also

roty, rotz.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated