Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

3d rotation of accelerometer vectors

  1. Dec 1, 2007 #1


    User Avatar


    I have some accelerometer vector data A (3d vectors x,y,z ) than I have normalized so I guess they are unit vectors. Now what I what to do is to 3d rotate them by another set of normalized accelerometer vector data B so I get a third set of vectors D.

    I have tried a simple vector subtraction but this does not seem to work, so can you tell me please what math method I should be using for the please?

    Is it Euler angles, Cartesian etc etc.

    A method of how to do it would be wonderful, and I know this is not a programming forum but if anyone knows of some c/c++ source for this is would be great.
    Many thanks IMK
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted