Note: This page has been translated by MathWorks. Click here to see

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

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

Root of nonlinear function

`x = fzero(fun,x0)`

`x = fzero(fun,x0,options)`

`x = fzero(problem)`

```
[x,fval,exitflag,output]
= fzero(___)
```

The `fzero`

command
is a function file. The algorithm, created by T. Dekker,
uses a combination of bisection, secant, and inverse quadratic interpolation
methods. An Algol 60 version, with some improvements, is given in [1]. A Fortran version, upon which `fzero`

is
based, is in [2].

[1] Brent, R., *Algorithms for
Minimization Without Derivatives*, Prentice-Hall, 1973.

[2] Forsythe, G. E., M. A. Malcolm, and C.
B. Moler, *Computer Methods for Mathematical Computations*,
Prentice-Hall, 1976.