Gauss–Newton algorithm in Matlab?

Hi All,
Is there a function in MATLAB to perform basic Gauss-Newton regression on a set of non-linear equations? I want to compare the performance with levenberg-marquardt.
Thanks
Toby

 Accepted Answer

John D'Errico
John D'Errico on 6 Jul 2017
Simple answer: NO. There is no Gauss-Newton scheme in MATLAB. If you want it, you need to write it. If you want to solve the optimization problem in MATLAB, then use the optimization toolbox tools, or nlinfit, or the curve fitting toolbox. Or find Gauss-Newton code on the file exchange. (Generally, any code to implement Gauss-Newton that you will find on the file exchange is code written by novices, what I would consider poor code.)

More Answers (0)

Categories

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!