Try doing print() or disp() of the variable you used to store the heart rate or BPM. Sorry, I can’t remember what variable was used in the video, but if you know what it is in your code, then you can just use one of those commands to output the value to the command window.
Depending on how you did it, you may need to adjust the peak detection to be more specific. Basically, you need to make sure its not counting smaller peaks near the big peaks. Or try smoothing the signal more. Also, make sure that your sample rate/frequency is reasonable and that you are using the correct time window. Hope that helps!
You are a legend
Great Video, how would you display an accurate Heart rate in BPM in the command window ?
did u know? :')
Try doing print() or disp() of the variable you used to store the heart rate or BPM. Sorry, I can’t remember what variable was used in the video, but if you know what it is in your code, then you can just use one of those commands to output the value to the command window.
When I tried to calculate Heart rate, the result is 306! , is that true??
Depending on how you did it, you may need to adjust the peak detection to be more specific. Basically, you need to make sure its not counting smaller peaks near the big peaks. Or try smoothing the signal more. Also, make sure that your sample rate/frequency is reasonable and that you are using the correct time window. Hope that helps!
I'm getting an error at EKG=load(100m.mat)
Can pls respond
Thanks for the explanation
I'm glad I could help!
Thanks for the explanation, please I have a question about what does it mean the variable: Actual_Time?
how can I calculate heart rate after that???
which platform are you using to run this program?
This is in Matlab
Hey sir i want a help in similar project .can you please help me.?