animEuler

版本 1.0.0.0 (2.6 KB) 作者: Dmitry Savransky
Animate sets of Euler rotations using arbitrary Euler angles and rotation order.
2.4K 次下载
更新时间 2009/4/29

查看许可证

[coordSys,as] = animEuler(h,rotSet,angs) animates the rotation of a dextral coordinate system using three arbitrary Euler angles (angs) about three axes (rotSet) in figure (h). rotSet is an array of 3 numbers in the range of [1, 3] representing the three body axes, so that rotSet = [3,1,3] is a body 3-1-3 rotation (z-x-z convention). Angles are assumed to be in degrees. In addition to animating the rotations, this function plots the intermediate reference frames.

The function returns the matrix coordSys, representing the direction cosine matrix of the Euler angle set, and the array (as), containing the handles of the three surfact objects representing the axes.

Note: If called with no arguments, this function will animate a 3-1-3 rotation using angles 45,30,60 in figure 1. These defaults will also be used in the place of null values.

Helper function make3daxes and rot3daxes are included.

引用格式

Dmitry Savransky (2024). animEuler (https://www.mathworks.com/matlabcentral/fileexchange/23964-animeuler), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2008b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Visualization 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0