Skip to content

Commit

Permalink
added plotting of hand velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
thedancomplex committed Mar 28, 2012
1 parent 5e1bc60 commit ba84022
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion keyFrameInterperlate.m
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,4 +54,13 @@
end end


tname = recordAces(mo,da,'huboThrowR2'); tname = recordAces(mo,da,'huboThrowR2');
playAces(tname,T); theOut = playAces2(tname,T,3);

figure;
v = sum((theOut').^2);
plot((1:length(v))*T,v);
xlabel('Time (sec)');
ylabel('Velos (m/sec)');
title('Velos magnitude of right hand in reference to the right foot');


0 comments on commit ba84022

Please sign in to comment.