comparison scripts/control/base/frdemo.m @ 5215:32c569794216

[project @ 2005-03-16 18:54:42 by jwe]
author jwe
date Wed, 16 Mar 2005 18:54:52 +0000
parents bdbee5282954
children 4c8a2e4e0717
comparison
equal deleted inserted replaced
5214:eecc24b92d97 5215:32c569794216
543 cmd = "sysout(dsys3,""zp"")"; 543 cmd = "sysout(dsys3,""zp"")";
544 disp(cmd); 544 disp(cmd);
545 eval(cmd); 545 eval(cmd);
546 disp("\nTo view the system's nyquist plot, execute the following"); 546 disp("\nTo view the system's nyquist plot, execute the following");
547 disp("commands:\n"); 547 disp("commands:\n");
548 cmd = "gset xrange [-4:2];"; 548 cmd = "__gnuplot_set__ xrange [-4:2];";
549 disp(cmd); eval(cmd); 549 disp(cmd); eval(cmd);
550 cmd = "gset yrange [-2.5:2.5];"; 550 cmd = "__gnuplot_set__ yrange [-2.5:2.5];";
551 disp(cmd); eval(cmd); 551 disp(cmd); eval(cmd);
552 cmd = "nyquist(dsys3);"; 552 cmd = "nyquist(dsys3);";
553 run_cmd; 553 run_cmd;
554 disp("Notice that the asymptotes swamp out the behavior of the plot") 554 disp("Notice that the asymptotes swamp out the behavior of the plot")
555 disp("near the origin. You may use interactive nyquist plots") 555 disp("near the origin. You may use interactive nyquist plots")