Home > lib > detect_peaks.m

detect_peaks

PURPOSE ^

peak_indexes = detect_peaks(y, threshold, min_dist = 1, no_max = Inf, min_height = 0)

SYNOPSIS ^

function peak_indexes = detect_peaks(y, threshold, min_dist, no_max, min_height)

DESCRIPTION ^

 peak_indexes = detect_peaks(y, threshold, min_dist = 1, no_max = Inf, min_height = 0)
 
 y: vector of values
 threshold: threshold

 Detects peaks in curve and returns their indexes

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 18-Feb-2010 12:47:47 by m2html © 2003