I am trying to process some motion capture data I obtained from a small scale experiment I am running.
The motion capture data essentially places out the markers on a x,y,z grid over time. The current markers are: - x2 on the wrist - X1 on the elbow - x1 on the shoulder - x3 on the chest (triangle pattern- under the clavicle and 2 on RandL collarbones)
I've read several articles on how to go about calculating joint angles from markers like this, but I think I have my math/code wrong somewhere:
This is what I have so far: Data=dlmread('MLTask1t1.csv',','); TimeVec=Data(:,2); Nt=length(TimeVec); WR=Data(:,3:5); WU=Data(:,6:8); Wri=(WR+WU)/2; EL=Data(:,9:11);