Rotate vector(s) about axis

Rotate three-dimensional vector(s) about a specified axis by a specified angle.

You are now following this Submission

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 (2026). Rotate vector(s) about axis (https://www.mathworks.com/matlabcentral/fileexchange/34426-rotate-vector-s-about-axis), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added array/multiple vector functionality.

1.0.0.0