摘要 |
<p>PROBLEM TO BE SOLVED: To display an immediate value conformed to the actual heart rate and a trend graph till data is inputted by prescribed points, by taking a moving average of the inputted data points till the prescribed data points, which is a target of the moving average, are inputted. SOLUTION: An inputted heart rate of, for example, 8 heart beats before the latest is subtracted from the latest inputted heart rate and the last output heart rate before the division is added (step S1) thereto. The number of the inputted heart beat exponent is examined (step S2) and when the 8 heart beats are already inputted, a value obtained by dividing it by 8 is outputted (step S3) as the heart rate after the moving average. On the other hand, if the 8 heart beats are not inputted yet after starting of the input, a value obtained by diving it by the inputted number is outputted (step S4) as the heart beat number after the moving average. This constitution can eliminate any possibility of calculating a value widely different from the actual heart rate till the data points after the moving average is inputted after starting of the processing.</p> |