You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Here, I present Powell's dog leg method that is applied to the fitting of Lorentz 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 Lorentz 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.
Cite As
Karol Vegso (2026). Powell's dog leg method - fitting Lorentz function with area (https://www.mathworks.com/matlabcentral/fileexchange/106720-powell-s-dog-leg-method-fitting-lorentz-function-with-area), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (3.05 KB)
MATLAB Release Compatibility
- Compatible with R2018a
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
