# Calculating BPM - from PPG signal

281 views (last 30 days)

Show older comments

Hi everyone,

I've been able to create a script that reads heart rate - displaying the value in real time on a graph.

Now i need to calculate the number of peaks in the graph and work out the BPM

Any simple script solution?

Any help will be most appreciated! Thanks!

##### 6 Comments

Supriya V
on 19 Mar 2021

### Accepted Answer

Mischa Kim
on 15 Mar 2014

Edited: Mischa Kim
on 15 Mar 2014

##### 13 Comments

Supriya V
on 19 Mar 2021

### More Answers (1)

T. Thinh Nguyen
on 5 Oct 2015

Check out the code I write in here.

https://uk.mathworks.com/matlabcentral/fileexchange/53364-heart-rate--spo2-using-ppg

The heart rate estimation is done both by FFT or Peak detection.

##### 1 Comment

Supriya V
on 19 Mar 2021

### See Also

### Categories

### Community Treasure Hunt

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

Start Hunting!