博客
关于我
【源码】简单四元数和三维旋转函数库
阅读量:214 次
发布时间:2019-02-28

本文共 837 字,大约阅读时间需要 2 分钟。

640?wx_fmt=jpeg

这个简单的函数库使用四元数和R^4之间的同构在Matlab中实现四元数代数仿真。

This simple library implements the quaternion algebra in Matlab using the isomorphism between quaternions and R^4. 

还实现了欧拉角、罗德里格斯公式和四元数版本的多种组合的旋转矩阵。

It also implements the rotation matrices for many combinations of Euler angles and the Rodrigues' Formula and the quaternion version. 

该函数库还包含3D可视化工具。

This library also contains a 3D Visualization tool.

主要函数概括如下:

Summarized description functions: 

The sum and subtraction is normally performed by Matlab as R^4 vectors. 

conjugate 

division on the left 

division on the right 

exponential 

inverse 

absolute value 

plot of coordinates in 3D 

product 

product with dot and cross commands 

matrix isomorphism 1 

matrix isomorphism 2 

rotation 

to string 

Rx 

Ry 

Rz 

Rxyz -- and others combinations of Euler Angles. 

Time derivative of Rxyz 

Rot Rodrigues

完整源码下载请点击“阅读原文”

转载地址:http://pbmp.baihongyu.com/

你可能感兴趣的文章
mysql-connector-java各种版本下载地址
查看>>
mysql-EXPLAIN
查看>>
mysql-group_concat
查看>>
MySQL-redo日志
查看>>
MySQL-【1】配置
查看>>
MySQL-【4】基本操作
查看>>
Mysql-丢失更新
查看>>
Mysql-事务阻塞
查看>>
Mysql-存储引擎
查看>>
mysql-开启慢查询&所有操作记录日志
查看>>
MySQL-数据目录
查看>>
MySQL-数据页的结构
查看>>
MySQL-架构篇
查看>>
MySQL-索引的分类(聚簇索引、二级索引、联合索引)
查看>>
Mysql-触发器及创建触发器失败原因
查看>>
MySQL-连接
查看>>
mysql-递归查询(二)
查看>>
MySQL5.1安装
查看>>
mysql5.5和5.6版本间的坑
查看>>
mysql5.5最简安装教程
查看>>