Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
Use \text for words inside math expressions
Miki88 (talk | contribs)
Line 73:
If <math>q_0+iq_1+jq_2+kq_3</math> is not a unit quaternion then the homogeneous form is still a scalar multiple of a rotation matrix, while the inhomogeneous form is in general no longer an orthogonal matrix. This is why in numerical work the homogeneous form is to be preferred if distortion is to be avoided.
 
The direction cosine matrix (from the rotated Body XYZ coordinates to the original Lab xyz coordinates for a clockwise/lefthand rotation) corresponding to a post-multiply '''Body 3-2-1''' sequence with [[Euler angles]] (ψ, θ, φ) is given by:<ref name=nasa-rotation>{{cite web|last=NASA Mission Planning and Analysis Division|title=Euler Angles, Quaternions, and Transformation Matrices|url=https://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19770024290_1977024290.pdf|publisher=[[NASA]]|accessdate=12 January 2013}}{{dead link|date=April 2021}}</ref>
:<math>
\begin{align}