Hey everyone,

I have an assignment for my biomedical engineering programming class that requires me to calculate the instantaneous heart rate of a given input text file. The professor suggested we use "Threshold and Blanking". My program currently finds the first period's instantaneous heart rate, but how do I make it continue throughout the whole data set?

Any Help is appreciated!