Home > K25104 > NonlinearSystems > bisection_script_1.m

bisection_script_1

PURPOSE ^

Usage example for bisection

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for bisection
 related to Exercise 4.6

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Usage example for bisection
0002 % related to Exercise 4.6
0003 
0004 p = [ 1 1 0 -2];
0005 a = 0.2;
0006 b = 1.5;
0007 tol = 1e-6;
0008 max = 100;
0009 [ x,k ] = bisection( p,a,b,tol,max )

Generated on Mon 18-Jan-2016 10:25:49 by m2html © 2005