fzero
Roots of a scalar function of a single variable.
(x)=fzero(func, init)
(x, it, sucess)=fzero(func, init)
Inputs
func The function that returns the value of the function whose root is to be determined.
init The initial estimate of the root.
Outputs
x The estimated root of the given function.
it The number of iterations required for computing the solution.
success true if the iterations converge, and false otherwise.


Example
>>x=fzero(@(x)sin(x)*x-1,rand(1,1))
>>x
    1.1142
>>sin(x)*x
    1.0000