Matlab Find Local Maxima Using Second