Related Experiment Video
Updated: May 24, 2026

Statistical Modelling of Cortical Connectivity Using Non-invasive Electroencephalograms
Published on: November 1, 2019
[Correction of electrocardiogram signal baseline wander based on statistically weighted moving average filter]
Xiao Hu1, Zhong Xiao, Ni Zhang
1Department of Electronics Information Engineering, Guangzhou University, Guangzhou 510006, China. huxiao@gzhu.edu.cn
Abstract:
Baseline wander (BW) is a common noise contaminating electrocardiogram (ECG). In order to effectively correct baseline of ECG signal and to preserve more latent components of ECG signal, this paper proposes a simple and novel filter based on statistically weighted moving average. Firstly, after the arrange between the maximum and the minimum of these sampling values in a moving window was divided into many sections with equal width, several segments [a(k), b(k)] including most samples were determined. Then, for every sample point in the moving window its weight was decided according to the criterion: its weight was set as 1 if the sampling value belongs to [a(k), b(k)], otherwise, as 0. Lastly, all these ECG sampling points with 1 weight were averaged to estimate the real baseline in the moving window. The algorithm was tested by simulated signal and real signal from www. physionet. org. The results showed that compared to traditional moving average filter and wavelet package (WP) translation, the proposed filter could more effectively correct baseline in ECG signal and result in less distortion to ECG signal.
Related Concept Videos
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
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...
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...

