Slerp
No License
This routine aims for calculating a unit quaternion, describing a rotation matrix, which lies between two known unit quaternions - q1 and q2, using a spherical linear interpolation - Slerp.
Slerp follow the shortest great arc on a unit sphere, hence, the shortest possible interpolation path.
Consequently, Slerp has constant angular velocity, so it is the optimal interpolation curve between two rotations.
Cite As
Sagi Dalyot (2024). Slerp (https://www.mathworks.com/matlabcentral/fileexchange/11827-slerp), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Aerospace > Aerospace Toolbox > Standard Workflow Procedures > Coordinate Systems > Quaternion Math >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |