Levenberg–Marquardt algorithm - Gaussian amplitude function
バージョン 1.0.2 (2.47 KB) 作成者:
Karol Vegso
I post here Levenberg–Marquardt algorithm to fit the Gaussian function with amplitude.
The Gaussian functions are widely used in optical spectroscopy like Raman spectroscopy, X-ray diffraction and optics in general. Therefore, it is necessary to know non-linear least square fitting algorithms. Here, I post Levenberg–Marquardt algorithm to fit Gaussian function with amplitude. The Gaussian function is fully decribed by amplitude, center, width and offset. The FWHM of Gaussian function is given as 2.35482*width. The Levenberg–Marquardt algorithm was taken from document "METHODS FOR NON-LINEAR LEAST SQUARES PROBLEMS" written by K. Madsen, H.B. Nielsen, O. Tingleff (Technical University of Denmark). This pdf document can be found on the web-page <http://www2.imm.dtu.dk/pubdb/edoc/imm3215.pdf>. You can also use the Eigen C++ library for linear algebra to rewrite Matlab code for C++ if necessary. Enjoy the algorithm.
引用
Karol Vegso (2025). Levenberg–Marquardt algorithm - Gaussian amplitude function (https://jp.mathworks.com/matlabcentral/fileexchange/106180-levenberg-marquardt-algorithm-gaussian-amplitude-function), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2021b
R2018a 以降 R2021b 以前と互換性あり
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!