how to detect the peaks in ecg signal using matlab?
I would assume that that's build into EEGLAB, but I've never used it. I know that's for EEGs instead of ECGs, but the underlying principals are the same. There are actually a LOT of ways to detect peaks, from using wavelets to simply using differentiation (in general, if you take a signal like this and (1) convolve it with a Gabor/Mexican-hat/difference-of-gaussian function (2) repeat the process to get a smoothed second derivative and then (3) sum the previous steps, then you end up with a box-step encompassing the duration of the event, wherein you can just take the maximal value of the smoothed signal), so just you might just do a bit of playing around to see what works best for you.
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy