Home > K25104 > NonlinearSystems > Newton_Raphson_script_1.m

Newton_Raphson_script_1

PURPOSE ^

Usage example for Newton_Raphson

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for Newton_Raphson
 related to Exercise 4.6

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

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