optimization with Levenberg-Marquardt algorithm
显示 更早的评论
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 个评论
Matt J
2018-1-23
Levenberg-Marquardt would be overkill. Since it's a 1D problem, you could just use fzero().
ghazal mohamed
2018-1-24
回答(1 个)
Alan Weiss
2018-1-24
编辑:Alan Weiss
2018-1-24
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 Choose a Solver 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!