rotz
3x3 transformation matrix for rotations around z-axis
Syntax
- rm = rotz(angle)
Input argument
- angle - angle in degree: scalar value.
Output argument
- rm - 3x3 transformation matrix: real-valued orthogonal matrix.
Description
rotz returns 3x3 transformation matrix for rotations around z-axis.
Bibliography
Goldstein, H., C. Poole and J. Safko, Classical Mechanics, 3rd Edition, San Francisco: Addison Wesley, 2002, pp. 142–144.
Example
r = rotz(90)
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET