Calculate conjugate of quaternion
n = quatconj(q)
n = quatconj(q) calculates
n, for a given quaternion,
q is an
m-by-4 matrix of conjugates. Each element of
be a real number. Additionally,
q has its scalar
number as the first column.
The quaternion has the form of
The quaternion conjugate has the form of
Determine the conjugate of
q = [1 0 1 0]:
conj = quatconj([1 0 1 0]) conj = 1 0 -1 0
 Stevens, Brian L., Frank L. Lewis, Aircraft Control and Simulation, Wiley–Interscience, 2nd Edition.