compute number of pulses for ECG signal
4 views (last 30 days)
Show older comments
hi, how i can compute number of pulses per minute (for ECG signal) in Matlab... plz any one help me :"
0 Comments
Answers (2)
Daniel Shub
on 13 Dec 2011
The first step would be to detect the pulses and count them up.
A very simple solution would be to take all the points in the ECG above a threshold, then require that there is some minimum deadtime between heartbeats. You can get the number of pulse with something like:
sum(find(diff(find(x > threshold)) > deadtime))
This will be extremely sensitive to noise and artifacts. If this i homework, you likely want to use a filtering technique that you have covered (maybe a matched filter)
0 Comments
Paulo Silva
on 13 Dec 2011
Find the number of peaks with the Signal Processing Toolbox™ findpeaks function or one similar function from the FEX
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!