Mathe matical derivation for Levenberg–Marquardt algorithm

3 views (last 30 days)
In Mat lab, I found that there is no code generator for fsolve, actually for my problem Levenberg–Marquardt algorithm is used.
I want to know the mathe matical approch for this Levenberg–Marquardt algorithm for solving nonlinear trigonometric equations.
so can any one send me the approch how to solve the nonlinear trigonometric equations by using Levenberg–Marquardt algorithm

Accepted Answer

Walter Roberson
Walter Roberson on 29 Jan 2019
Edited: Walter Roberson on 29 Jan 2019
LM is not an equation solver. LM is a minimizer.
You can use it to minimize sum of squares of residues (so sum of squares of you equations in the situation where you are trying to find zeroes.) But if you are going to do that just for the sake of code generation, then you might as well just use fminsearch on the sum of squares of your equations instead.
LM gets stuck in local minima; fminsearch does as well, but fminsearch tends to get stuck less often than LM would.
  3 Comments

Sign in to comment.

More Answers (0)

Categories

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!