optimization with Levenberg-Marquardt algorithm
Mostrar comentarios más antiguos
Hi everyone! I have a function f(x) (ex: f(x)=3+sin(2x)-exp(-x)) and it's experimental value Fexp (ex:0.02344). So how I can find x that minimize the difference f(x)-Fexp using Levenberg-Marquardt algorithm in Toolbox optimization? Many thanks
2 comentarios
Matt J
el 23 de En. de 2018
Levenberg-Marquardt would be overkill. Since it's a 1D problem, you could just use fzero().
ghazal mohamed
el 24 de En. de 2018
Respuestas (1)
Alan Weiss
el 24 de En. de 2018
Editada: Alan Weiss
el 24 de En. de 2018
0 votos
I am not sure that I understand you, but perhaps you are asking about Curve Fitting Via Optimization.
You are free to use the Levenberg-Marquardt algorithm in lsqcurvefit or lsqnonlin when fitting a nonlinear function to data. See the Algorithm option.
Alan Weiss
MATLAB mathematical toolbox documentation
1 comentario
ghazal mohamed
el 24 de En. de 2018
Categorías
Más información sobre Choose a Solver en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!