Clear Filters
Clear Filters

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

2 views (last 30 days)
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?

Accepted Answer

Walter Roberson
Walter Roberson on 23 Aug 2016
Edited: Walter Roberson on 23 Aug 2016
interp1() twice, once for x and once for y. (It turns out that you can combine those in the same call.)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!