fromAngleToMatrix

Converts Cardan angle to rotation matrices

You are now following this Submission

Takes an arbitrary amount or successive rotations and convert them into a matrix of rotation. The angles must be given in column vectors (Rots x nFrames). It returns a 3 x 3 x nFrames hypermatrix of rotation. The provided angle sequence must be in char 'xyz' where xyz is replaced by the actual axes. Note that an axis can repeat (e.g. 'xyx' is a valid sequence)

Cite As

Pariterre (2026). fromAngleToMatrix (https://www.mathworks.com/matlabcentral/fileexchange/72269-fromangletomatrix), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2012b and later releases

Platform Compatibility

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