http://stackoverflow.com/questions/12238241/find-local-minima-in-an-array?rq=1

Advertisements