compute number of pulses for ECG signal
3 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 :"
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)
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
Find more on Measurements and Feature Extraction 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!