x = fminbnd(fun, x1, x2)
[x, fval, exitflag, output] = fminbnd(fun, x1, x2, options)
x = fminbnd(problem)
| Paramètre | Description |
|---|---|
| fun | fonction objectif scalaire. |
| x1, x2 | bornes finies de l'intervalle. |
| options | options du solveur. |
| Paramètre | Description |
|---|---|
| x | minimiseur estimé dans l'intervalle. |
| fval | valeur de l'objectif. |
| exitflag | indicateur de terminaison. |
| output | diagnostics. |
fminbnd applique la méthode bornée de Brent, combinant recherche par section dorée et interpolation parabolique. Une structure problem peut contenir les champs objective, x1, x2 et options.
[x, fval] = fminbnd(@(x) (x - 1.5)^2, -2, 4)
| Version | Description |
|---|---|
| 2.0.0 | version initiale |