Home > K25104 > NonlinearSystems > Brent_script.m

Brent_script

PURPOSE ^

Usage example for Brent

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for Brent
 related to Exercise 4.3

CROSS-REFERENCE INFORMATION ^

This function calls: 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 );

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