How to find the QRS complex for this ECG signal?
Show older comments
Hi all,
Could somebody please tell me how I can find the QRS complexes of this ECG signal? The signal is attached.
Thanks in advance!

6 Comments
Susan
on 9 Dec 2022
William Rose
on 10 Dec 2022
The 10 Hz spikes are basically the same height a a normal R wave in the absence of spikes, so it is not surprising that you might fail to identify an occasional lower-than-average-amplitude R wave. Of course you will want to identify and eliminate the source of the 10 Hz spikes if at all possible, in future recordings. Maybe that it impossible, for example if it is an indwelling stimulator or some other therapeutic device. You may have to live with a compromise in which you have occasional false positives (i.e. calling something an R wave when it is not) and false negatives (i.e. failing to identify real R waves). This occurs in many clinical scenarios. Finding the right balance depends on the costs of the different types of errors. You will have no better guide that @Star Strider in such matters.
I sympathize with your situation. I once recorded a very low quality EKG because I had not turned up the amplifier gain as normal, and did not catch the error. As a result, the R waves were almost buried in noise. But the experimental data was valuable, so I made quite an effort to filter out the noise to extract the R waves. And I added a checklist item to make sure I did not make that mistake again.
Susan
on 12 Dec 2022
William Rose
on 12 Dec 2022
@Susan, I am not a cardiologist or a physician. But I am confident that the 10 Hz spikes would not be interpreted as a pathology. The physician would immediately recognize that there was a problem with the recording. Maybe the circuit used to amplify and record the ECG has a flaw in it that generates 10 Hz spikes. Maybe the spikes are due to crosstalk from another device in the room. Maybe the subject has some implantable device that generates pulses at 10 Hz. If that were true, the physician would know it, so the spikes would not be misinterpreted.
This ECG is not acceptable for clinical use. If the spikes were much narrower, they could be removed by signal processing, without too much risk of causing significant distortion of the true signal. But they are wide as well as tall.
I have not seen spikes like this at 2 or 10 or 40 Hz, but my experience is quite limited, with only a few hundred subjects. I have recorded ECGs with clinical-grade machines, with teaching machines, and with amplifiers I designed and built myself. I have recorded in the cardiac cath lab and in teaching labs and in research labs and in the field.
If you collected the data, then you probably have ideas about the possible source of the spikes.
Susan
on 13 Dec 2022
William Rose
on 13 Dec 2022
@Susan, you're welcome. Good luck with your work.
Accepted Answer
More Answers (0)
Categories
Find more on Design Condition Indicators at the Command Line in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

