# MATLAB: 1-D interpolation along specified dimension

interpolation

Hello, I have a tall 2-D matrix 6037500×44. I want perform an interpolation of all the 6037500 rows, using the 44 sample points and 301 query points. It is basically a 1-D interpolation along the second dimension. A for-loop row-by-row lasts forever. Can anybody suggest a more efficient way? Thanks!

xout=interp1(x,data.',xq);