3D Rotations

3D Space Coordinate Transformations
16.9K Downloads
Updated 29 Apr 2023

3d-coordinate-transformations

3D Space Coordinate Transformations for Robotics Applications

View 3D Rotations on File Exchange

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.

January 2001

For a good intro to the subject, see this chapter (file exchange image taken from there).

Cite As

Giampiero Campa (2024). 3D Rotations (https://github.com/giampy1969/3d-coordinate-transformations/releases/tag/v1.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R11.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Coordinate Transformations 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

See release notes for this release on GitHub: https://github.com/giampy1969/3d-coordinate-transformations/releases/tag/v1.1

1.0.0.0

Removed dir structure from zip file

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.