Clear Filters
Clear Filters

Relative a movement - biomechanics

2 views (last 30 days)
Marcelo Costa
Marcelo Costa on 20 Nov 2012
Hello guys, Thus, I have capture a movement of a person throwing a ball, however the amount of frames they have are different. I wonder, how can I make them to be expressed as percentages of the movement, so all participants get from 0% (beginning of motion) and end in 100% (last scanned picture)? Therefore, people have the same number of frames.

Answers (1)

Sean de Wolski
Sean de Wolski on 20 Nov 2012
Sounds like you will want something from the interpx family:
doc interp3 %and friends
  1 Comment
Marcelo Costa
Marcelo Costa on 21 Nov 2012
Let me see if I understand! I will create an array with the data I have and with another count of elements that I have, for example, matrix I want to interpolate a = [2 6 8 9 10] and other data with b = 1:1:5 and after that I created another array with the size I want to interpolate c = 1:1:100 and use the command interp1 (b, a, c, 'spline'). Am I Correct?

Sign in to comment.

Categories

Find more on Biomechanics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!