1

I have a group of dataset.

This is the graph I draw using this dataset. enter image description here How to find the coordinate of peak value from this dataset? Anyone got good java algorithm regarding this issue?

phoon
  • 369
  • 1
  • 6
  • 21

1 Answers1

0

For this dataset specifically, I would do the following:

  1. Make the data stationary by taking first differences
  2. Signal when the data is above some threshold level. You can use a fixed threshold or an adaptive threshold (as in this answer for example)

When I use the dataset from this question, for illustration purposes, I get the following in Excel:

Heart rate detection

That should be easily implementable in Java.

Good luck!

Jean-Paul
  • 19,910
  • 9
  • 62
  • 88