# MATLAB: How to employ ‘for’ loop for the specific problem

for looploopsMATLAB

My problem is this:
I have a large sample data in the form of a column matrix (the data is around 10000 data points for each object). For each value of time 't' (another column matrix), I need the corresponding value of the data: for instance, for t(1,:), I need the correspondence y(1,:).
So how do I go about writing the "code of correspondence" between these two? It's like plotting only, in a way, except I need an executable function.
I am NOT seeking something like m = [t y] which gives me a matrix of the order a*b, where a is the number of rows and b is the number of columns.

•  Why not just   y.'