File Exchange

image thumbnail

Calculate Heart Rate from Electrocardiogram Data

version 1.0.1 (98.4 KB) by Heather Gorr
This example shows how to do a simple analysis of an electrocardiogram (ECG) signal and determine the heart rate.

27 Downloads

Updated 28 Jun 2020

View License

This example shows how to do a simple analysis of an electrocardiogram (ECG) signal and heart rate calculation.

The signal is a measure of electrical activity of the heart over time. The analysis includes removing trends and finding the max peaks in the R-wave. These calculations are performed using Live Editor Tasks to visually explore the effects of choosing different parameters.

Cite As

Heather Gorr (2020). Calculate Heart Rate from Electrocardiogram Data (https://www.mathworks.com/matlabcentral/fileexchange/73049-calculate-heart-rate-from-electrocardiogram-data), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Argiñe

What is the sampling rate of the signal?

Updates

1.0.1

Removed .mat file (it's included in doc examples shipped w/ MATLAB), fixed typos

MATLAB Release Compatibility
Created with R2019b
Compatible with R2019b to any release
Platform Compatibility
Windows macOS Linux