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 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 (2026). 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 .
General Information
- Version 1.0.1 (2.81 KB)
MATLAB Release Compatibility
- Compatible with R2018a
Platform Compatibility
- Windows
- macOS
- Linux
