Usage example for inv_quad_it related to Exercise 4.6
0001 % Usage example for inv_quad_it 0002 % related to Exercise 4.6 0003 0004 p = [ 1 1 0 -2]; 0005 x0 = 0.1; 0006 x1 = 0.7; 0007 x2 = 1.5; 0008 tol = 1e-6; 0009 max = 100; 0010 [ x,k ] = inv_quad_it( p,x0,x1,x2,tol,max )