Quaternions and rotation vector.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 3K views
pjhphysics
Messages
16
Reaction score
0
Hi,
I'm trying to calculate a normalized 3d vector representing the quaternion's orientation. Can anyone give me a hand?
Thanks!
 
Physics news on Phys.org
What constitutes the vector part of the quaternion?
 
He means use the imaginary elements associated with i, j, and k of course.

BTW, technically a quaternion is itself a vector, since it's a member of a vector space.
 
A quaternion can be expressed as

q = q0 + q1*i + q2*j + q3*k

It's a 4-vector, (q0,q1,q2,q3) that can be decomposed into a scalar part, q0, and a 3-vector part (q1,q2,q3).