1. The problem statement, all variables and given/known data As per the attached picture, we are basically trying to find out the time interval between the instants that the particle (black dot) is in the first region of interest and the instant that it is in the second region of interest. i have a video in which the particle in question is shown to travel between these regions of interest...but obviously, these regions are not marked out on the video, since these are just hypothetical. The idea is to make a code on a software such as MATLAB that we can use during experiments on the particle we are investigating so that each time we do the experiment, we can be sure as to how long it takes to do so. The problem is that in real life(during experiment) the process is so fast, that we cannot track the velocity with the naked eye... 2. Relevant equations 3. The attempt at a solution Being new to programming, I have no idea how to begin this..I need a starter...I thought of using MATLAB image processing...I don't know if that's a good idea.... Could someone please tell me how to start? How do I make a code for this??? What do I need to know? What extra stuff do I need to study?