I am trying to time normalise various GRF and joint data to 101 points to comeapre phases that are of unequal lengths.
I have two methods of time normalising the data however could someone please help to elabortae on which method is more correct.
RKneeAngleTN = interp1(1:numel(RKneeAngle), RKneeAngle, linspace(1, numel(RKneeAngle), 101)');
[rows, columns] = size(RKneeAngle);
SampleStep = linspace(1,rows,101);
RKneeAngleTN = zeros(101,columns);
for ii = 1:101
for mm = 1:columns
RKneeAngle(ii,mm) = spline(RKneeAngle(:,mm),SampleStep(ii));
Both methods produce very similar results however I would like to know which would be prefered in this case and possibly why.
Thanks for any clarification