euler angle calculation

조회 수: 3 (최근 30일)
Melissa
Melissa 2012년 3월 2일
Good Morning All,
I am attempting to use euler angles to readjust a coordinate system, the problem is I dont now how to calculate psi, theta and phi that will be used. Say I have a vector of [(x1,y1,z1) (x2,y2,z2)] and wish to denote (x1,y1,z1) as the origin. How can I calculate the euler angles between the origin and the vector? Any suggestions are greatly appreciated.
Thanks,
Mel
A better example is say I have v1=(100,125,150) and v2=(110,132,175). I would use v1 as the origin and calculate the euler angles from v1 to v2.

채택된 답변

Jan
Jan 2012년 3월 2일
You cannot calculate a unique set of 3 Euler angles between two vectors. The transformation from one vector to the other has 2 degrees of freedom only, because the rotation around the final vector is undefined.
The two angles of spherical coordinates are sufficient to describe the transformation between two vectors.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Array Geometries and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by