MATLAB Answers

rotation matrix between two coordinate systems matlab

157 views (last 30 days)
ha ha
ha ha on 14 Sep 2017
Edited: ha ha on 20 Sep 2017
I have a coordinate system A
Example: 3 principal vector direction of system A are:
e0= [0.3898 -0.0910 0.9164]
e1= [0.6392 0.7431 -0.1981]
e2= [-0.6629 0.6630 0.3478]
And, I have a cartesian coordinate system B with three unit vector
nx=[1 0 0]
ny=[0 1 0]
nz=[0 0 1]
How can i find transformation matrix between two coordinate systems A & B ?
  2 Comments

Sign in to comment.

Accepted Answer

Jan
Jan on 16 Sep 2017
E = [e0; e1; e2]
is the transformation matrix already for the rotation. There seems to be a translation of the origin in addition, such that you need to add this vector afterwards also.
  1 Comment
ha ha
ha ha on 20 Sep 2017
i think my question is not clear. Please see my new question:
https://jp.mathworks.com/matlabcentral/answers/357494-how-to-find-rotation-matrix-from-vector-to-another

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!