Effacer les filtres
Effacer les filtres

Relative a movement - biomechanics

2 vues (au cours des 30 derniers jours)
Marcelo Costa
Marcelo Costa le 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.

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Biomechanics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by