Rotation matrix

Version 1.0 (944 Bytes) by Mathan Chandran
For a given axis vector and an angle of rotation about the axis we get a rotation matrix.
109 Downloads
Updated 29 Apr 2016

View License

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 (2025). Rotation matrix (https://uk.mathworks.com/matlabcentral/fileexchange/56828-rotation-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactions, Camera Views, and Lighting in Help Center and MATLAB Answers
Tags Add Tags
Acknowledgements

Inspired: Rotation Forest

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0