Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Euler rotation angles

  • To: mathgroup at
  • Subject: [mg46746] Re: Euler rotation angles
  • From: bobhanlon at (Bob Hanlon)
  • Date: Fri, 5 Mar 2004 01:46:52 -0500 (EST)
  • References: <c26gc5$e28$>
  • Sender: owner-wri-mathgroup at

Mathematica can find a set of angles but the rotations are not unique


vec1 = {1, 2, 3};

vec2 = Rotate3D[vec1, .25, .1, .4];

eqn=Thread[Rotate3D[vec1, phi,theta,psi] == vec2];

soln=FindRoot[eqn, {{phi, .1, .2}, {theta, .2, .3}, {psi, .3, .4}}]

{phi -> -1.3171, 
  theta -> 0.112368, psi -> 1.78946}

(Rotate3D[vec1, phi, theta, psi]-vec2) /. soln // Chop


Bob Hanlon

In article <c26gc5$e28$1 at>, sam_campbell at (S. Campbell)

<< Can anyone help me with the following? I have two vectors, one rotated
with respect to the other, and I wish to find the Euler rotation
angles that connect the vectors. Can mathematica tell me what the
required angles are?

  • Prev by Date: NDSolve and time-delayed equations?
  • Next by Date: Creating my own cell
  • Previous by thread: Re: Euler rotation angles
  • Next by thread: Re: Euler rotation angles