| Aerospace Toolbox | ![]() |
n = quatconj(q)
n = quatconj(q) calculates the conjugate, n, for a given quaternion, q. Input q is an m-by-4 matrix containing m quaternions. n returns an m-by-4 matrix of conjugates. Each element of q must be a real number. Additionally, q has its scalar number as the first column.
Determine the conjugate of q = [1 0 1 0]:
conj = quatconj([1 0 1 0])
conj =
1 0 -1 0quatdivide, quatinv, quatmod, quatmultiply, quatnorm, quatnormalize, quatrotate
![]() | quat2dcm | quatdivide | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |