Usage example for boundary_locus related to the Adams-Bashforth methods
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;