Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | ATOMS
File : Details
Please login or create an account
Dear visitors/customers, we are migrating most of Scilab services into a new data center.
Note that login/registration will not be available for the moment.

Peaks detector

Function peaks=peak_detect(signal [,threshold]) is a fast and simple peaks detection on a signal
(3144 downloads for this version - 3144 downloads for all versions)
Jean-Luc Goudier
Supported Scilab Version
Creation Date
November 24, 2011
            // This function "peak_detect.sci" detect the peaks of a signal : 
// -------------------------------------------------------------
// For an input row vector "signal" , the function return 
// the position of the peaks of the signal.
// The ouput "peaks" is a row vector (size = number of peaks),
// "peaks" =[] if no peak is found.
// Optional argument "threshold" eliminates the peaks under
// the threshold value (noise floor). 
// Clipped peaks (more than 2 samples of the signal at the same value)
// are not detected.            
Files (2)
[14.92 kB]
Miscellaneous file
[2.60 kB]
Miscellaneous file
News (0)
Comments (0)
Leave a comment
You must register and log in before leaving a comment.
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.