Usage example for boundary_locus related to Exercise 6.8
0001 % Usage example for boundary_locus 0002 % related to Exercise 6.8 0003 0004 rho = [1; 0; -1]; 0005 sigma = [0; 2; 0]; 0006 n = 100; 0007 [ z ] = boundary_locus( rho,sigma,n ); 0008 % plot z on the complex plane 0009 f=figure; 0010 x=real(z); 0011 y=imag(z); 0012 plot(x,y); 0013 title('Explicit midpoint rule'); 0014 axis([-1.5 1.5 -1.5 1.5]); 0015 xlabel('Re'); 0016 ylabel('Im'); 0017 grid on;