fitnlorentzian(xyda​ta, parameters)

Version 1.3.0.0 (4,03 ko) par Erik
fit n number of Lorentzian peaks / sum of lorentzian peaks to data with automated peak detection
667 téléchargements
Mise à jour 17 juil. 2017

Afficher la licence

fits n number of lorentizian peaks to xy data with automated peak detection (tweak minpeakheight and minpeakwidth for better detection)
see also https://www.mathworks.com/matlabcentral/fileexchange/63771-fitngaussian-xy--parameters-

how to use:

1. Download fitnlorentzian.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;
fitnlorentzian(xydata, n)

code is maintained at

https://github.com/ebauch/matlab

Citation pour cette source

Erik (2026). fitnlorentzian(xydata, parameters) (https://fr.mathworks.com/matlabcentral/fileexchange/63748-fitnlorentzian-xydata-parameters), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.3.0.0

updated description

1.2.0.0

changed description

1.1.0.0

updated description

1.0.0.0