Note: This page has been translated by MathWorks. Please click here

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Find minimum of single-variable function on fixed interval

`fminbnd`

is a one-dimensional minimizer
that finds a minimum for a problem specified by

$$\underset{x}{\mathrm{min}}f(x)\text{suchthat}{x}_{1}x{x}_{2}.$$

*x*, *x*_{1},
and *x*_{2} are finite scalars,
and *f*(*x*) is a function that
returns a scalar.

The function to be minimized must be continuous.

`fminbnd`

might only give local solutions.`fminbnd`

can exhibit slow convergence when the solution is on a boundary of the interval.

`fminsearch`

| `fzero`

| `optimset`

Was this topic helpful?