Introduction - If you have any usage issues, please Google them yourself
Find peaks in signal. Look for local maxima and minima. In the window of search find the maximum maxima and the minimum minuma. Return two values which are the maximum and the minimum local maximas