A command-line peak fitting program for time-series signals, written as a self-contained Matlab function in a single m-file. Uses a non-linear optimization algorithm to decompose a complex, overlapping-peak signal into its component parts. The objective is to determine whether your signal can be represented as the sum of fundamental underlying peaks shapes. Accepts signals of any length, including those with non-integer and non-uniform x-values. Fits any number of peaks of 44 different shapes, including models with multiple shapes. This is a command line version, usable from a remote terminal. It is capable of making multiple trial fits with sightly different starting values and taking the one with the lowest mean fit error, and it can estimate the standard deviation of peak parameters from a single signal using the bootstrap method.
Tom O'Haver (2022). peakfit.m (https://www.mathworks.com/matlabcentral/fileexchange/23611-peakfit-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: ipf(arg1,arg2,arg3,arg4)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!