How to filter the noise out from the ECG signal

The original ECG signal looks like this, the sampling frequency is 360Hz.
I try to design a FIR filter to filter the noise out so that i can get a clear view of PQRST complex of the heart beat. I plot this signal in the frequency domain and it looks like this:
So, how should I fiind the frequency where the noise locates?

4 Comments

Jonas
Jonas on 11 May 2022
Edited: Jonas on 11 May 2022
you want only the high peaks? you could just use thresholding and set values that are smaller as e.g. 100mV to 0
Hi, Jonas. For exmaple, this is the one of the parts of my original signal:
And this is what PQRST should look like:
Obviously, there are some noises in the original signal and i just want to filter these noises out to get "P Q R S T" from the first figure(R Q S are clear enough but P T are not).
i suggest you play around using the signal analyzer app.
https://de.mathworks.com/help/signal/ug/using-signal-analyzer-app.html
tomorrow i will have a closer look!
There is obvious 60 Hz line noise. Use a bandstop filter with a very narrow stopband to eliminate it.
Beyond that, it appears to represent normal sinus rhythm with left ventricular hypertophy with non-specific ST-T changes and one notable PVC. If this is a Lead II EKG, the origin of the PVC appears to be near the apex. There are Q-waves, however without a specific voltage calibration, it is difficult to interpret their significance.

Sign in to comment.

Answers (3)

M.B
M.B on 12 May 2022
Edited: M.B on 12 May 2022
I would also recommend a zero-phase filter using filtfilt function to avoid the introduction of phase lag after filtering the signal.

Asked:

on 11 May 2022

Answered:

on 18 Jul 2023

Community Treasure Hunt

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

Start Hunting!