Finding time interval between 2 peaks
8 views (last 30 days)
Show older comments
Michael Morotto
on 12 Jul 2015
Commented: Star Strider
on 13 Jul 2015
I downloaded a sample EKG signal to test some digital filtering techniques in Matlab, but I am unsure of how I could obtain the time interval between 2 peaks. Does anyone know how I could get started with this?
0 Comments
Accepted Answer
Star Strider
on 12 Jul 2015
If you have the Signal Processing Toolbox, use the findpeaks function. It has a number of name-value pair arguments that make R-wave detection (assuming a Lead II) straightforward. It will require some experimentation.
2 Comments
Star Strider
on 13 Jul 2015
My pleasure.
If you’re doing biomedical signal analysis, the Signal Processing Toolbox is necessary. You will need it for filtering and time-frequency analysis as well as peak-finding.
There are peak-finding routines on the File Exchange as well. (I’ve not used them so I’ve no experience with them.)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!