I have a x-array and a y-array (numpy, python). The y array is some function of x. The x-array is:
x = np.array([1,4,5,7,11])
y = np.array([4,8,9,11,14])
x_new = = np.array([1,2,3,4,5,6,7,8,9,10])
Well a good start would be to look at Numpy's interpolation method. Can get the job done for most situations.