How can I upsample xy position data of an animal moving randomly?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
lalikesbrains
el 23 de Ag. de 2016
Editada: Walter Roberson
el 23 de Ag. de 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?
0 comentarios
Respuesta aceptada
Walter Roberson
el 23 de Ag. de 2016
Editada: Walter Roberson
el 23 de Ag. de 2016
interp1() twice, once for x and once for y. (It turns out that you can combine those in the same call.)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Multirate Signal Processing en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!