Skip to content

doates625/quat_m

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

quat_m

Matlab package for quaternion arithmetic
Written by Dan Oates (WPI Class of 2020)

Description

This package contains the Quat class for Quaternions. It implements the following arithetic operations:

  • Euclydian norm [norm(q)]
  • Conjugation [conj(q)]
  • Inversion [inv(q)]
  • Normalization [unit(q)]
  • Addition [q1 + q2]
  • Subtraction [q1 - q2]
  • Unary plus [+q]
  • Unary minus [-q]
  • Left division [q1 \ q2]
  • Right division [q1 / q2]

It also has functions for rotation matrices, vector rotations, and axis-angle decomposition for unit quaternions.

Cloning and Submodules

Clone this repo as '+quat' and add the containing dir to the Matlab path.

About

Matlab package for quaternion arithmetic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages