Demo functions for peak detection and fitting.

A collection of self-contained demonstration functions for iPeak.m and peakfit.m.


Updated 13 Sep 2012

View License

These functions demonstrate the operation and optimization of the peak finding and fitting functions iPeak.m and peakfit.m, generating simulated signals containing random noise and comparing their peak parameter measurements to the known true values. Includes a demonstration of the estimation of peak parameter errors by the bootstrap method. These functions contain all required sub-functions. Just download the zip file, right-click and select "Extract all", then put the resulting files in the Matlab path and run them by typing their names at the Matlab command window prompt.

Cite As

Tom O'Haver (2023). Demo functions for peak detection and fitting. (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Peak finding and measurement, 2019, peakfit.m, iPeak

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Additional demo added.