peakdet

Detect Peaks and Depressions in a signal
2.2K Downloads
Updated 20 Jan 2015

View License

peakdet returns peaks and depressions (local maxima and minimum) in the input signal. It can detect peaks/dep crossing the threshold or zero. Signal data requires a row or column vector with real-valued elements. If there are no local minimum/maxima returns empty.

Cite As

Marco Borges (2024). peakdet (https://www.mathworks.com/matlabcentral/fileexchange/47264-peakdet), MATLAB Central File Exchange. Retrieved .

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

Inspired: PeakPoints

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.2.0.0

add minimum distance between any two peaks (local maximum)

1.1.0.0

accept row vector

1.0.0.0