Powell's dog leg method - fitting Gauss function with area

Version 1.0.0 (3.07 KB) by Karol Vegso
Here, I post Powell's dog leg method algorithm to fit the Gauss function with the area.
10 Downloads
Updated 14 Feb 2022

View License

Here, I present Powell's dog leg method that is applied to the fitting of Gaussian function with area. The general algorithm was taken from document "METHODS FOR NON-LINEAR LEAST SQUARES PROBLEMS" written by authors K. Madsen, H.B. Nielsen, O. Tingleff (Technical University of Denmark). The principles and function of Powell's dog leg method are thoroughly explained in this document. I apply general Powell's dog leg algorithm to Gauss function with area. In order to change the fitting function, you need to rewrite Jacobian matrix, which contains derivatives according to the fitting parameters. The presented algorithm is using mostly Matlab and equation solver Solve from Symbolic Math Toolbox. The solver is used to calculate step in Powell's dog leg method. The fitting parameters are area, center, width and offset. To fit data sucessfully, it is good if center position is approximately correct. I wish you a lot of fun with testing of Powell's dog leg algorithm. Enjoy the algorithm.

Cite As

Karol Vegso (2024). Powell's dog leg method - fitting Gauss function with area (https://www.mathworks.com/matlabcentral/fileexchange/106730-powell-s-dog-leg-method-fitting-gauss-function-with-area), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with R2018a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0