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