qrot3d -- Quaternion Rotation

版本 1.0.0.0 (22.3 KB) 作者: Steven Michael
A written-in-C compiled MATLAB function to do fast quaternion rotation on large 3D data sets.
3.7K 次下载
更新时间 2007/9/25

查看许可证

This package performs a quaternion rotation on a 3-D data set.

The code is written in C, which I have found produces a very significant (> 10X) speedup over a .m file version, allowing for rotation of large 3-D data set in a short amount of time.

"qrot3d" operates on single or double precision data and can take as an input either a quaternion or a rotation vector and angle.

usage:

rotdata = qrot3d(data,quaternion)
or
rotdata = qrot3d(data,omega,theta)

data must be a (Nx3) matrix. "qrot3d" works with both single and double precision.

引用格式

Steven Michael (2024). qrot3d -- Quaternion Rotation (https://www.mathworks.com/matlabcentral/fileexchange/7107-qrot3d-quaternion-rotation), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

qrot3d/

版本 已发布 发行说明
1.0.0.0

Update to use new mwSize variable for dimensions (will now run on 2006/2007 versions of MATLAB). Include binaries for windows 32 bit, linux 32& & 64 bit.