Calculate inverse of quaternion
Determine the inverse of
q = [1 0 1 0]:
qinv = quatinv([1 0 1 0])
qinv = 0.5000 0 -0.5000 0
Quaternion, specified as an m-by-4 matrix containing m quaternions.
n— Inverse of quaternion
Inverse of quaternion, returned as an m-by-4 matrix.
The quaternion has the form of
The quaternion inverse has the form of
 Stevens, Brian L., Frank L. Lewis, Aircraft Control and Simulation, Wiley–Interscience, 2nd Edition.
Usage notes and limitations:
Code generation for this function requires the Aerospace Blockset™ software.