Best interpolation for RR intervals
5 views (last 30 days)
Show older comments
Hello, i was wondering which is the best kind of interpolation to obtain a good tachogram from the RR intervals. I have tried:
y = interp1(t,x,t_out,'spline');
y = interp1(t,x,t_out,'cubic');
y = csaps(t,x,0.5,t_out); %0.5 randomly selected between 0-1
y = csapi(t,x,t_out);
But i am not sure i understand the difference between them. Especially between interp1 with "spline" argument and csapi. Thank you in advance for your responses.
0 Comments
Answers (1)
Star Strider
on 6 Aug 2014
R-R intervals normally vary for a number of reasons. I would simply do a linear interpolation if you want them all to have the same time base. Retaining the heart rate variability is important, and a linear interpolation is most likely to preserve it.
4 Comments
Star Strider
on 7 Aug 2014
And the papers themselves likely didn’t explain their choice of spline interpolation.
I don’t have access to ‘Effect of missing RR-interval data on nonlinear heart rate variability analysis’, but they apparently compared different interpolation and analysis methods. It might be worth looking this up to see what their results were. (I would not object to your uploading it here.) From the abstract, it seems the sort of study I would do had I the resources.
See Also
Categories
Find more on Splines in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!