The function is an improved version of the function LMFnlsq widely tested on the nonlinear regression, curve fitting and identification problems. Better description is in the complementing file LMFnlsq2test.pdf.
Warning: The option 'Display' is changed for better control of intermediate results output. See help LMFnlsq2.
Miroslav Balda (2023). LMFnlsq2 (https://www.mathworks.com/matlabcentral/fileexchange/39564-lmfnlsq2), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Improved the printout of results. The previous versions did not display the final solution if the iteration count were not integer multiple of required step of printing.
The new version of the function is a slight modification of the recent update. One statement, dated 2012-12-01, has been commented out because of its erroneous function under certain circumstances. The function is now fast and much more stable.
Repaired several bugs found by Jose. Improved description of the function and of the demo program LMFnlsq2test.
Display of intermediate results has been improved to fulfill better users' requirements.
Thanks Jose's detailed study of the code, small bugs were repaired and the code made more clear.