Related Experiment Video
Updated: May 29, 2026

Calculating Heart Rate Variability from ECG Data from Youth with Cerebral Palsy During Active Video Game Sessions
Published on: June 5, 2019
Computer software tool for heart rate variability (HRV), T-wave alternans (TWA) and heart rate turbulence (HRT)
Krzysztof Kudryński1, Paweł Strumiłło, Jan Ruta
1Institute of Electronics, Technical University of Lodz, Lodz, Poland. k.kudrynski@gmail.com
Background:
This paper presents a software package for quantitative evaluation of heart rate variability (HRV), heart rate turbulence (HRT), and T-wave alternans (TWA) from ECG recordings. The software has been developed for the purpose of scientific research rather than clinical diagnosis.
Material/Methods:
The software is written in Matlab Mathematical Language. Procedures for evaluation of HRV, HRT and TWA were implemented. HRV analysis was carried out by applying statistical and spectral parametric and nonparametric methods. HRT parameters were derived using the Schmidt algorithm. TWA analysis was performed both in spectral and in time domain by applying Poincare mapping. A flexibility of choosing from a number of classical modelling approaches and their modifications was foreseen and implemented. The software underwent preliminary verification tests both on ECGs from the Physionet online ECG signal repository and recordings taken at the Department of Electrocardiology of the Medical University Hospital in Lodz.
Results:
The result of the research is a program enabling simultaneous analysis of a number of parameters computed from ECG recordings with the use of the indicated analysis methods. The program offers options to preview the intermediate results and to alter the preprocessing steps.
Conclusions:
By offering the possibility to cross-validate the results of analyses obtained by several methods and to preview the intermediate analysis steps, the program can serve as a helpful aid for clinicians in comprehensive research studies. The software tool can also be utilized in training programs for students and medical personnel.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
ECG Interpretation of Rhythms
Components of the Electrocardiogram
The primary components of a normal ECG waveform in Normal sinus rhythm(NSR) include the P wave, PR interval, QRS complex, ST segment, T wave, and occasionally a U wave.
ECG waveforms are divided by vertical and horizontal lines at standard intervals.
The horizontal axis measures time and rate, and the vertical axis measures amplitude or voltage. When...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...
Holter Monitor: 24-Hour Monitoring
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...

