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