摘要 |
The invention provides a method and apparatus for detecting maxima and minima of an array of data points defining a periodic, symmetrical waveform. The method comprises comparing the "y" values of two marker points (selected from the array of data points), which marker points are spaced apart along the waveform by a predetermined number of data points. If the "y" values of the two marker points are not substantially the same, both marker points are incremented in the "x" direction, and their "y" values are tested again. If the "y" values are substantially the same, within a predetermined tolerance value t, a positive or negative peak has been found. Optionally, the points between the marker points are then sorted to find the tip of the peak.
|