I have some original data plotted below and I need to interpolate it with my other set of measurements. However whenever I run my interpolation function the initial measurements start at an unreal value. Both sets of data are different lengths.
(y is Data, x is just number of measurements)
SS = (:,1:5)
SS1 = SS(:,4)
SS2 = SS(:,1)
K = interp1( SS1(1:end,1) , SS2(1:end,1) , RefernceTime(1:end,1),'pchip');
(y is interpolated data and x is the reference times)