Find RR Interval in seconds

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.

 Accepted Answer

The obvious solution would be:
rrInSec = rrInSamples / samplingRateInHz

4 Comments

It Worked..Thank you!
You are welcome. To get this stuff right naturally, it's best to keep track of your variables' units.
I will keep it in mind..Thank you.
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!