fitngaussian(xy, parameters)

fit n number of Gaussian peaks / sum of Gaussian peaks to data with automated peak detection

Al momento, stai seguendo questo contributo

fits n number of Gaussian peaks to xy data with automated peak detection (tweak minpeakheightm, minpeakwidth for better detection)
see also https://www.mathworks.com/matlabcentral/fileexchange/63748-fitnlorentzian-xydata--parameters-
how to use:
1. Download fitngaussian.m plus example data in 4peaksdata.dat (https://github.com/ebauch/matlab/blob/master/4peaksdata.dat)
2. In matlab run
% import xy data
xydata = load('4peaksdata.dat');

% fit data with n = 1,...,4 peaks
n = 3;
fitngaussian(xydata, n)

code is maintained at

https://github.com/ebauch/matlab

Cita come

Erik (2026). fitngaussian(xy, parameters) (https://it.mathworks.com/matlabcentral/fileexchange/63771-fitngaussian-xy-parameters), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

updated description

1.0.0.0