rotVecAroundArbAxis​(unitVec2Rotate,rot​ationAxisUnitVec,th​eta)

Vectorized 3-D rotation of any vector around an arbitrary axis

Download
Download

You are now following this Submission

Cite As

Darin Koblick (2026). rotVecAroundArbAxis(unitVec2Rotate,rotationAxisUnitVec,theta) (https://in.mathworks.com/matlabcentral/fileexchange/49916-rotvecaroundarbaxis-unitvec2rotate-rotationaxisunitvec-theta), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Efficient Vector Rotation Matrix Routine

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.1.0

Added an additional rotation upfront to ensure that the rotation about the z-axis is consistent.

Download
1.0.0

Download