Powell's dog leg method - fitting sinus function

Version 1.0.1 (2.81 KB) by Karol Vegso
I present the fitting of the sinus function based on Powell's dog leg method.
25 Downloads
Updated 11 Feb 2022

View License

Here, I present Powell's dog leg method that is applied to the fitting of sinusoidal function. 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 sinusoidal function. 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, phase and offset.

Cite As

Karol Vegso (2024). Powell's dog leg method - fitting sinus function (https://www.mathworks.com/matlabcentral/fileexchange/106590-powell-s-dog-leg-method-fitting-sinus-function), 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.1

The clarity of algorithm was improved.

1.0.0