i = fn_localmax(x)
find local maxima in vector x (cannot be extremities)
Thomas Deneux
Copyright 2004-2017
Published with MATLAB® R2015a