Effacer les filtres
Effacer les filtres

How can I upsample xy position data of an animal moving randomly?

2 vues (au cours des 30 derniers jours)
lalikesbrains
lalikesbrains le 23 Août 2016
Modifié(e) : Walter Roberson le 23 Août 2016
I have 115192 time points but only 5805 data points for x and y position data of an animal moving randomly within an area. Is it possible up upsample the position data so I can have x and y positions for every time point? How can I do this?

Réponse acceptée

Walter Roberson
Walter Roberson le 23 Août 2016
Modifié(e) : Walter Roberson le 23 Août 2016
interp1() twice, once for x and once for y. (It turns out that you can combine those in the same call.)

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by