i want to find angle between two 3d dots in kinect skeleton

조회 수: 1 (최근 30일)
TAEYUN
TAEYUN 2014년 10월 30일
댓글: NURUL AMIRA MHD RIZAL 2018년 4월 30일
if i want to find angle of btween kneejoint and hipjoint, how can i do? just i knew only x,y,z values of joints... somebody help me plz..

답변 (1개)

Youssef  Khmou
Youssef Khmou 2014년 10월 31일
try to verify these relations :
r=sqrt(x^2+y^2+z^2);
phi=acos(z/r); % radian
theta=acos(x/(r*cos(phi)); radian

Community Treasure Hunt

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

Start Hunting!

Translated by