Zeroes

The first zero is on the interval [-2,-1], and the signs of the function values

`fzero`

:
>> fzero(@f,[-2,-1]) ans = -1.2780 >> fzero(@f(x),[-2,-1]) ans = -1.2780So it is possible to use either `f' or `f(x)'.

>> f(ans) ans = -4.4409e-016You can see from the last output that MATLAB has found an approximation for the zero.

Remark: When `fzero`

does not find a zero of a function

Esteur 2010-03-22