Calculating BPM - from PPG signal

224 views (last 30 days)
willing2learn
willing2learn on 15 Mar 2014
Commented: Supriya V on 19 Mar 2021
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
Supriya V on 19 Mar 2021
Sir/Madam, could you share source code for ppg extraction from face video that is real time and along with I want to display a graph for that.

Sign in to comment.

Accepted Answer

Mischa Kim
Mischa Kim on 15 Mar 2014
Edited: Mischa Kim on 15 Mar 2014
Check out the findpeaks command. Alternatively (if you do not have access to the Signal Processing Toolbox) you could do a Fourier Transform and look at the dominant frequency components.
  13 Comments
Supriya V
Supriya V on 19 Mar 2021
Sir/Madam, could you share source code for ppg extraction from face video that is real time and along with I want to display a graph for that.

Sign in to comment.

More Answers (1)

T. Thinh Nguyen
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
Supriya V on 19 Mar 2021
Sir/Madam, could you share source code for ppg extraction from face video that is real time and along with I want to display a graph for that.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!