Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I'm looking for an appropriate rotation representation for the following situation.

I have two (always non-zero) vectors, v1, v2, that may or may not be parallel. The rotation relating the two vectors is obviously non-unique having one degree of freedom, parametrized by p. So my question is: Is there a "simple" way (in terms of quaternions, rotation matrices, Euler angles ... or whatever you prefer) to express theunique(2 DOF) rotation in terms of the two vectors and the "free" parameter p, parametrizing the one degree of freedom mentioned above? What is the simplest way you can come up with?

I can do this myself but whatever I've come up with is algebraically pretty messy.

In case I haven't made myself clear, what I want is the "simplest" possible form of

R = R(v1,v2,p)

Many thanks in advance!

Edit: If it could be done without using cross-products that is an extra bonus!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Rotation parametrization of alignment of two vectors

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**