Peak finding and measurement, 2019
A set of fast customizable functions for locating and measuring the peaks in noisy time-series signals. Adjustable parameters allow discrimination of "real" signal peaks from noise and background. Determines the position, height, and width of each peak by least-squares curve-fitting. It can find and count over 10,000 peaks per second, and find and measure 1800 peaks per second, in very large signals. Includes two interactive versions, one with mouse-controlled sliders and one with keyboard control, for adjusting the peak finding criteria in real-time. Self-contained demos show how it works.
Cite As
Tom O'Haver (2026). Peak finding and measurement, 2019 (https://nl.mathworks.com/matlabcentral/fileexchange/11755-peak-finding-and-measurement-2019), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Signal Processing > Signal Processing Toolbox > Measurements and Feature Extraction > Descriptive Statistics >
Tags
Acknowledgements
Inspired: iPeak, IDpeak: Peak Identifier Function, Demo functions for peak detection and fitting.
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
m files and mat files 2019
| Version | Published | Release Notes | |
|---|---|---|---|
| 5.0 | Greatly expanded and updated. List the files by date modified to see which ones have been changed. |
||
| 4.0.0.0 | Added several new functions including measurepeaks, autofindpeaks, and autopeaks plus test scripts for each. |
||
| 3.3.0.0 | Bug fix |
||
| 3.2.0.0 | Included version 7.7 of iPeak. |
||
| 3.1.0.0 | Bug fix. Data vectors x and y can be either column or row vectors. |
||
| 3.0.0.0 | Bug fixes and speed improvements. |
||
| 2.0.0.0 | This version contains several small corrections, additions, and bug fixes. |
||
| 1.19.0.0 | This version includes updated versions of several functions. |
||
| 1.18.0.0 | This version includes updated versions of findpeaksfit.m and findpeaksb.m. |
||
| 1.17.0.0 | This version includes findpeaksL.m for Lorentzian peaks, and findpeaksGSS.m and findpeaksLSS that compute the 1% start and end positions. |
||
| 1.16.0.0 | This version includes new command-line functions findpeaksplot.m, findpeaksnr.m, and peakstats.m. plus version 5.3 of iPeak. |
||
| 1.14.0.0 | Version 5 has faster jumps between peaks with spacebar and tab keys; other small bug fixes. |
||
| 1.13.0.0 | This version includes some additional demos plus version 4 of the interactive iPeak function. |
||
| 1.11.0.0 | Typo correction. |
||
| 1.10.0.0 | This zip file includes version 3.9 of the interactive iPeak function. |
||
| 1.8.0.0 | This version includes the findvalleys function and version 3.81 of the interactive iPeak function. |
||
| 1.5.0.0 | Bug fix |
||
| 1.4.0.0 | Includes the version 3.2 update of iPeak and version 4 of findpeaks.m, as well as the older 2008 version with sliders. |
||
| 1.3.0.0 | The rtslid.m function in this version has been
|
||
| 1.1.0.0 | Fixes a bug in the FindPeakSlidersG script that caused a malfunction in the individual peak viewing mode when the x-axis data series did not start at zero. |
||
| 1.0.0.0 | enhancements
|
