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

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 日

0 投票

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

質問済み:

2014 年 10 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by