Includes 2 code blocks. The first one uses the Rodrigues' formula to rotate a vector in space around an axis. The second block can be used to perform rotations about an arbitrary axis
1) Rotates a vector in 3D space about an axis passing through the origin
2) Rotates a vector in 3D space about an arbitrary axis
Can be used for generating cones in space since in the stated example the axis of rotation and the rotation vector have a common origin
Source/Reference:
https://en.wikipedia.org/wiki/Rodrigues%27_rotation_formula
인용 양식
Soumitra Sitole (2024). Rodrigues' axis-angle rotation (https://www.mathworks.com/matlabcentral/fileexchange/73828-rodrigues-axis-angle-rotation), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!