Home > K25104 > ODEs > boundary_locus_script_3.m

boundary_locus_script_3

PURPOSE ^

Usage example for boundary_locus

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 Usage example for boundary_locus
 related to the Adams-Bashforth methods

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % Usage example for boundary_locus
0002 % related to the Adams-Bashforth methods
0003 
0004 n=100;
0005 rho = [1; -1];
0006 sigma = [0; 1];
0007 [ z ] = boundary_locus( rho,sigma,n );
0008 plot(z);
0009 title('Adams-Bashforth methods');
0010 hold on;
0011 rho = [1; -1; 0];
0012 sigma = [0; 3/2; -1/2];
0013 [ z ] = boundary_locus( rho,sigma,n );
0014 plot(z);
0015 rho = [1; -1; 0; 0];
0016 sigma = [0; 23/12; -4/3; 5/12];
0017 [ z ] = boundary_locus( rho,sigma,n );
0018 plot(z);
0019 axis([-5/2 1/2 -3/2 3/2]);
0020 grid on;

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