compose / decompose 3x3 rotation matrix (comp_decomp_matrix​)

バージョン 1.0.0.0 (1.62 KB) 作成者: Thomas Seers
Compose 3x3 rotation matrix from euler angles or decompose 3x3 rotation matrix to euler angles
ダウンロード: 618
更新 2013/10/15

ライセンスの表示

COMP_DECOMP_MATRIX: compose 3x3 rotation matrix from euler angles (in degrees) or decompose 3x3 rotation matrix to euler angles (in degrees)
Input: 1x3 vector of euler rotations around x rotations(1), y
rotations(2), and z, rotations(3) or 3x3 rotation matrix
Output: 3x3 matrix representing rotations around x, y, and z axis
or 1x3 vector of euler angles in degrees

NOTE: Euler angles returned when doing a decomposition will be in the following ranges (in radians):

% theta_x --> (-pi, pi)
% theta_y --> (-pi/2, pi/2)
% theta_z --> (-pi, pi)

Angles within these ranges will be the same after decomposition: angles outside these ranges will produce the correct rotation matrix, but the decomposed values will be different to the input angles.

引用

Thomas Seers (2025). compose / decompose 3x3 rotation matrix (comp_decomp_matrix) (https://jp.mathworks.com/matlabcentral/fileexchange/43907-compose-decompose-3x3-rotation-matrix-comp_decomp_matrix), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2008a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersCoordinate Transformations についてさらに検索

Community Treasure Hunt

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

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