How can I track the number of tracked mosquitoes in a given time bin?

2 views (last 30 days)
I have processed 2D and 3D tracking data that I am trying to analyze. The post processed data files contain a matrix with a row for each tracked mosquito that contains the x, y, and z location as well as the time that the mosquito was tracked. I would like to calculate the number of tracked mosquitoes by converting each occurrence in time to 1 then adding up the tracks the fall within a given time bin. What would be the easiest way to accomplish this in a script?
  5 Comments
Matthew DeGennaro
Matthew DeGennaro on 13 Apr 2014
All of the time points for mosquito #1 are contained in Objects.time. For example if you double click the Objects.time row, all the of multiple times the mosquito was tracked will come up. Does that make sense?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!