Brent implements Brent's algorithm to find a solution of f(x)=0;
This function is called by:
SOURCE CODE
0001 % Usage example for Brent
0002 % related to Exercise 4.3
0003
0004 p = [ 1 -1 -4 4];
0005 a = -4;
0006 b = 2.5;
0007 tol = 0.01;
0008 max = 100;
0009 [ x,k,z ] = Brent( p,a,b,tol,max );