binsearch

binaer search for zero in a motonously increasing function

Syntax

x = binsearch(f,a,b,'param1',val1,'param2',val2)