This question already has an answer here:
I have some data that was collected at irregular intervals, and I want to estimate the values on a regularly spaced time grid, so that I can take FFTs etc. I've not had to do this much before, and I'm wondering if there is an "industry standard" or best algorithm to use? I'm currently using the Matlab function pchip, but that's only because that's the first function I found.
Does it matter how my data is distributed, or is there a one size fits all function?