Thanks, Mike. In the measured data set, the X values are indeed consecutive integers so the interpolation for x[y=0] : x[y=n] is straightforward, except where y=0. ;-) (sorry, couldn't help it) Your comments about interpolation triggered a thought... if we make the ADC readings periodic at some know...