|
I develop an application in which i constantly get samples of heart pulse. I defined an interval of t seconds. In each t seconds I have n samples. In every interval, I want to calculate the tendency of those n samples. For example, lets say I have n = 5, and I have samples with values {70, 88, 95, 103, 115}. I want to recognize I have a growth in the heart pulse, and I want to have some measure for the rate of grows/decrease/almost no change. I thought on two approaches for solving this problem.
I'm asking which approach do you think is better for my problem (determining the tendency of heart pulses). Or, do you have a better algorithm for solving this problem? |