Powell's dog leg method - fitting amplitude Gauss function

Here, I post Powell's dog leg method algorithm for fitting Gauss function with amplitude.
8 Downloads
Updated 12 Feb 2022

View License

Here, I present Powell's dog leg method that is applied to the fitting of Gaussian function with amplitude. 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 Gaussian function with amplitude. In order to change the 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 amplitude, center, width and offset. To fit data sucessfully, it is good if center position is approximattely correct. I wish you a lot of fun with testing of Powell's dog leg algorithm.

Cite As

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

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

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