y = marktop (sig, thresh)
Marktop (signal,threshold) -- Mark the location and extent of a peak in the input signal. Result will be a pair of numbers for each column, denoting the start and end of the max region Optional threshold can be used to allow slight deviations.