Error using optimset(@lsqnonlin) matlab 2020b
12 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm having trouble using optimset () for lsqnonlin () function. I am using matlab version 2020b.
...
options = optimset(@lsqnonlin)
X = lsqnonlin('filtroRC', X0, [], [], options, Vin, t, Vout_e)
...
Error using optimset (line 163)
No default options available for the function 'lsqnonlin'.
I would appreciate suggestions
0 个评论
采纳的回答
Walter Roberson
2020-11-30
编辑:Walter Roberson
2020-11-30
Wrong options routine for that function. You need https://www.mathworks.com/help/optim/ug/optim.problemdef.optimizationproblem.optimoptions.html
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Optimization Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!