博客
关于我
【源码】简单四元数和三维旋转函数库
阅读量: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 用户管理和权限设置
查看>>
MySQL 的 varchar 水真的太深了!
查看>>
mysql 的GROUP_CONCAT函数的使用(group_by 如何显示分组之前的数据)
查看>>
MySQL 的instr函数
查看>>
MySQL 的mysql_secure_installation安全脚本执行过程介绍
查看>>
MySQL 的Rename Table语句
查看>>
MySQL 的全局锁、表锁和行锁
查看>>
mysql 的存储引擎介绍
查看>>
MySQL 的存储引擎有哪些?为什么常用InnoDB?
查看>>
Mysql 知识回顾总结-索引
查看>>
Mysql 笔记
查看>>
MySQL 精选 60 道面试题(含答案)
查看>>
mysql 索引
查看>>
MySQL 索引失效的 15 种场景!
查看>>
MySQL 索引深入解析及优化策略
查看>>
MySQL 索引的面试题总结
查看>>
mysql 索引类型以及创建
查看>>
MySQL 索引连环问题,你能答对几个?
查看>>
Mysql 索引问题集锦
查看>>
Mysql 纵表转换为横表
查看>>