I'm relatively new to MATLABs interpolation functions and can't seem to do what I want. Let me try to explain my problem:
I have some radar data in a matrix (Nsamples x Ntraces) and corresponding x and y location vectors dictating where each trace was collected (1 x Ntraces). I need to interpolate the x and y vectors to the grid points and average the traces together that correspond to the locations being moved to that grid point. Is there any way to do this with griddata or any other of the interpolation functions? Thank you for your time.