
How to differentiate between a double peak and a single peak array?
Also if the array represents a double peak, how to find the minimum point between two peaks? The minimum points outside of the peaks (left of left peak and right of right peak) should not be considered in finding the minimum point.
I found PEAKDET function to be quite reliable and fast although it’s loop based. It does not require pre-smoothing of noisy data, but finds local max and min extrema with difference larger than parameter
delta.Since PEAKDET runs from left to right it sometime misses peaks on the right site. To avoid it I prefer to run it twice: