detect_peaks.m¶
Basic Information¶
SYNTAX: peak_locs = detect_peaks(data)
PURPOSE: Find locations of local maxima of input data signal.
INPUT:
data = data to detect peaks in
OUTPUT:
peak_locs = sample numbers where peaks are located
RESTRICTIONS: Use input -data to find local minima.