3D Rotations

version 1.0.0.0 (7.16 KB) by Giampiero Campa
3D Space Coordinate Transformations

16.8K Downloads

Updated Thu, 12 May 2005 10:30:07 +0000

View License

3D Space Coordinate Transformations

This folder contains 3 files (m-functions) :

- t2x.m Transformation Matrix to Generalized Position Vector.
- x2t.m Generalized Position Vector to Transformation Matrix.
- m2m.m Mass/Inertia Tensor transformation with coordinate change.

In the Generalized Position Vector the orientation can be expressed with:
- unit quaternion,
- Euler angles xyz (roll, pitch, and yaw),
- Euler angles zyz (rotation, precession, and mutation),
- unit vector and rotation angle,
- Denavitt-Hartemberg parameters.
Conversion between the above orientation systems can be easily achieved.

The three files work independently on each other, but since they work
on the same objects it is somewhat useful to keep them in the same folder.

For more detailed information see the help texts of the three functions.

Giampy
January 2001

Cite As

Giampiero Campa (2022). 3D Rotations (https://www.mathworks.com/matlabcentral/fileexchange/956-3d-rotations), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!