Filter löschen
Filter löschen

looking for a better way to detect peaks

1 Ansicht (letzte 30 Tage)
Kobi
Kobi am 8 Nov. 2014
Kommentiert: Star Strider am 9 Nov. 2014
when using find peaks i get all the litlle peaks under 0.3 is there a way to detect only the 5 peaks? (without manually setting the threshold to be 0.3)

Akzeptierte Antwort

Star Strider
Star Strider am 9 Nov. 2014
The other best option is likely the 'MinPeakDistance' value. Since you’re likely dealing with highly-filtered QRS complexes, and the rate seems to be regular at about 60 BPM, set 'MinPeakDistance' to about 80% of your sample rate.
  2 Kommentare
Kobi
Kobi am 9 Nov. 2014
why 80%? how do you make that assumption based on that the rate is about 60BPM?
Star Strider
Star Strider am 9 Nov. 2014
You can choose any value you want. I was suggesting 80% since you want to detect only the R waves and not the P or T waves. Your sampling frequency is in Hz (cycles/sec), and a heart rate of 60 BPM is about 1/second. So 80% of your sampling frequency would skip the P and T waves, and even allowing for some variability, would pick up most R waves.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by