Rotation Matrix

バージョン 1.0.0.1 (2.41 KB) 作成者: Jan
Rotation matrix in 2D, 3D and N-D
ダウンロード: 687
更新 2022/9/30

ライセンスの表示

RotMatrix - N-dimensional Rotation matrix
R = RotMatrix(alpha, u, v)
INPUT:
alpha: Angle of rotation in radians, counter-clockwise direction.
u, v: If just the input alpha is provided, a 2D matrix is replied.
For 1 input u, the 3D rotation matrix is created. u must have 3
elements.
If u and v are used as inputs, the N-dimensional rotation is
performed in the hyperplane spanned by u and v. Note, that there is
no unique axis of rotation in N>3 dimensions.
u and v are normalized automatically and in the N-D case v is made
orthogonal to u.
The dimension of u and v determine the dimension of the output.
OUTPUT:
R: Rotation matrix.
REFERENCES:
https://analyticphysics.com/Higher%20Dimensions/Rotations%20in%20Higher%20Dimensions.htm
https://en.wikipedia.org/wiki/Rotation_matrix
https://application.wiley-vch.de/books/sample/3527406204_c01.pdf

引用

Jan (2024). Rotation Matrix (https://www.mathworks.com/matlabcentral/fileexchange/66446-rotation-matrix), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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

Help section improved.

1.0.0.0