MATLAB Answers

Find RR Interval in seconds

69 views (last 30 days)
I have 10 minute ECG data saved in CSV file format (13900 data samples corresponds to 10 minute recording). My sampling frequency is 139HZ. I found the distance between RR peaks (RR interval) in terms of data samples between two peaks. I need to find the RR Interval in seconds. So how I will convert the RR distance in terms of data samples to seconds. I will be grateful if someone can help me to solve this issue.


Sign in to comment.

Accepted Answer

David J. Mack
David J. Mack on 22 Nov 2017
The obvious solution would be:
rrInSec = rrInSamples / samplingRateInHz


Show 1 older comment
David J. Mack
David J. Mack on 22 Nov 2017
You are welcome. To get this stuff right naturally, it's best to keep track of your variables' units.
anjaly cherian
anjaly cherian on 23 Nov 2017
I will keep it in mind..Thank you.
sonu kumar gupta
sonu kumar gupta on 9 Jun 2018
can you please tell me that how do you find the samples(or distance) between 2 peaks...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!