I've got a dataseries with two vectors, <i>x</i> and <i>time</i>, where <i>x</i> is the measured value at <i>time</i>.<br><br>time-intervals average 202 ms, median 200 ms. (Average goes up mostly due to a few very long intervals, about 15 measuring >300 ms).I would like to interpolate a curve with steady intervals between the samples and have those as close to 200 ms as possible.<br>

<br>Total samples are around 1300. What function should I use? What would the syntax be?<br><br>Been looking at splin and interp and messing around with them a bit but havent been able to get what I want..<br><br>Any suggestions?<br>