quat = rotm2quat(rotm) converts
a rotation matrix, rotm, to the corresponding
unit quaternion representation, quat. The input
rotation matrix must be in the premultiply form for rotations.
Rotation matrix, specified as a 3-by-3-by-n matrix containing
n rotation matrices. Each rotation matrix has a size
of 3-by-3 and is orthonormal. The input rotation matrix must be in the
premultiply form for rotations.
Note
Rotation matrices that are slightly non-orthonormal can give
complex outputs. Consider validating your matrix before inputting to
the function.
Unit quaternion, returned as an n-by-4 matrix
containing n quaternions. Each quaternion, one
per row, is of the form q = [wxyz],
with w as the scalar number.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.