peaks

version 1.0.0.0 (290 Bytes) by Nagi Hatoum
Find the peaks and troughs in a vector.

4.7K Downloads

Updated 10 Jun 2005

No License

A simple rugged script that finds the peaks and troughs of a signal, vector, or data points. The results are returned in two index vectors p and t.
Notice: Might drop end points or give two point where adjacent data have the same value.
Returns column-wise peak and through index vectors

Cite As

Nagi Hatoum (2022). peaks (https://www.mathworks.com/matlabcentral/fileexchange/7694-peaks), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!