MATLAB: How to find Q and S point in QRS complex of ECG signal
ecgphysionetqrs complexsignal processingthresholding peaks in signal
How to find Q and R points of ECG signal shown below?
Code:
load 16265m.mat;
plot(val(1,:))
Best Answer
The first trace doesn’t have any S-waves, so don’t look for them. The EKG morphology is dependent on the lead placement and heart health. The second one is a very sick heart, with a left bundle-branch block pattern. It also has an RSR' pattern, so you have to be careful to not detect the first R-deflection.
That is an interesting EKG. It displays frequent unifocal PVCs with obvious retrograde conduction, blocking the subsequent P-wave.
As much as I like findpeaks, the islocalmin function might be more appropriate, since you can use the ProminenceWindow name-value pair, and others not available in findpeaks. That might be easier with respect to locating the Q and S waves. In any event, the findpeaksMinPeakProminence parameter with or in place of MinPeakHeight may be more valuable than MinPeakHeight alone.
Also, the 25 Hz lowpass filter cutoff frequency is a bit restrictive and could obscure some detail. Experiment with a 45 Hz cutoff and see if that improves your ability to detect the Q and S deflections.
Best Answer