Rotate vector(s) about axis

Rotate three-dimensional vector(s) about a specified axis by a specified angle.
2.4K Downloads
Updated 3 Jan 2012

View License

This is a very simple program that implements Rodrigues's rotation formula. Inputs are arrays of three-dimensional column or row vectors that are to be rotated about a specified axis by a specified angle. Output is array of rotated vectors with same dimension as input array.

Cite As

Ismail Hameduddin (2024). Rotate vector(s) about axis (https://www.mathworks.com/matlabcentral/fileexchange/34426-rotate-vector-s-about-axis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Geometric Transformation and Image Registration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Added array/multiple vector functionality.

1.0.0.0