rotVecAroundArbAxis​(unitVec2Rotate,rot​ationAxisUnitVec,th​eta)

バージョン 1.1.0.0 (12.1 KB) 作成者: Darin Koblick
Vectorized 3-D rotation of any vector around an arbitrary axis
ダウンロード: 767
更新 2015/7/30

ライセンスの表示

This routine will allow a 3-D unit vector to be rotated around a 3-D axis defined by the user. This is performed by first rotating the unit vector around it's own cartesian axis (in this case we will rotate the vector around the z-axis, [0 0 1]) corresponding to each rotation angle specified by the user. This rotated vector is then transformed around the user defined axis of rotation.
To see a demonstration, simply run the following command in your MATLAB command prompt:
>> rotVecAroundArbAxis();

引用

Darin Koblick (2024). rotVecAroundArbAxis(unitVec2Rotate,rotationAxisUnitVec,theta) (https://www.mathworks.com/matlabcentral/fileexchange/49916-rotvecaroundarbaxis-unitvec2rotate-rotationaxisunitvec-theta), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2013b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB Answers3-D Scene Control についてさらに検索
謝辞

ヒントを得たファイル: Efficient Vector Rotation Matrix Routine

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.1.0.0

Added graph of outputs
Added an additional rotation upfront to ensure that the rotation about the z-axis is consistent.

1.0.0.0