Date: Feb 4, 2013 9:47 AM
Author: amira ali
Subject: access matrix
need help urgently

i have location of interest points in matrix A(2*13 ) where 2 is x,y of point and 13 is total number of points for example:

x y

72.6781959551728 46.7543453323974

71.9155271184922 100.930596158669

and i have another matrix called flow (120*160) this matrix contain velocity of every pixel (v in x direction) and (v in y direction). all i need it how can i get the velocity of 13 interest points from this matrix flow so finally i must have

x y v(x) v(y)

72. 46.7543 0.087396 -0.135287