Rotation matrix

For a given axis vector and an angle of rotation about the axis we get a rotation matrix.

You are now following this Submission

example m = rotm(v,angle)
v := a row vector of the axis of rotation.
angle := angle of rotation about the axis.
It uses six subroutines orthv.m,gramsch.m,
proj.m,projv.m,ord.m, shuffle.

Cite As

Mathan Chandran (2026). Rotation matrix (https://www.mathworks.com/matlabcentral/fileexchange/56828-rotation-matrix), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Rotation Forest

Categories

Find more on Interactions, Camera Views, and Lighting in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0