Azzera filtri
Azzera filtri

Relative a movement - biomechanics

2 visualizzazioni (ultimi 30 giorni)
Marcelo Costa
Marcelo Costa il 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.

Risposte (1)

Sean de Wolski
Sean de Wolski il 20 Nov 2012
Sounds like you will want something from the interpx family:
doc interp3 %and friends
  1 Commento
Marcelo Costa
Marcelo Costa il 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?

Accedi per commentare.

Categorie

Scopri di più su Biomechanics in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by