Question: How do you you linearly interpolate each row of a 2d array with the same 1d array?
I have 2 sets of x-coordinates and a matrix of y-coordinates, I want to do this without the loop:
for k in range(len(y[:,0]))
y_want = np.interp(x_want,x_have,y_have[k,:])
y_new.append(y_want)
Is there a built in numpy function that can do this?