Skip to main content

Module fminbnd

Module fminbnd 

Source
Expand description

MATLAB-compatible fminbnd builtin for bounded scalar minimization.

fminbnd finds a local minimum of a scalar function on a finite interval using Brent’s method (golden-section search combined with parabolic interpolation). The implementation supports MATLAB’s four output arities:

  • x = fminbnd(fun, x1, x2)
  • x = fminbnd(fun, x1, x2, options)
  • [x, fval] = fminbnd(...)
  • [x, fval, exitflag] = fminbnd(...)
  • [x, fval, exitflag, output] = fminbnd(...)

The optional options struct (typically created by optimset) honours TolX, MaxIter, MaxFunEvals, and Display.

Constants§

FUSION_SPEC
GPU_SPEC