Is there a command-line way of setting MaxIterations in fminsearch/fminsearchbnd ?
1 view (last 30 days)
Show older comments
Pragya Srivastava
on 20 Apr 2017
Answered: John D'Errico
on 20 Apr 2017
I am trying to find optimum parameters for a minimisation problem. Its a 6-dimensional parameter space. I was wondering if there is a command line way of setting Max number of iterations in fminsearch.
0 Comments
Accepted Answer
John D'Errico
on 20 Apr 2017
Read the help!
X = fminsearch(FUN,X0,OPTIONS) minimizes with the default optimization
parameters replaced by values in the structure OPTIONS, created
with the OPTIMSET function. See OPTIMSET for details. fminsearch uses
these options: Display, TolX, TolFun, MaxFunEvals, MaxIter, FunValCheck,
PlotFcns, and OutputFcn.
fminsearchbnd uses the same options structure, since it is just an overlay on top of fminsearch.
0 Comments
More Answers (0)
See Also
Categories
Find more on Interpolation 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!