Demo functions for peak detection and fitting.

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

You are now following this Submission

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 (2026). Demo functions for peak detection and fitting. (https://nl.mathworks.com/matlabcentral/fileexchange/38006-demo-functions-for-peak-detection-and-fitting), MATLAB Central File Exchange. Retrieved .

Acknowledgements

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

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Additional demo added.

1.0.0.0