gistlib
main.mnumerator = exp(-2*s); denominator = 10*s*(s+1)*(s+2); sys = tf(numerator, denominator); z = zero(sys); p = pole(sys); disp('Zeros:'); disp(z); disp('Poles:'); disp(p); 172 chars13 lines
numerator = exp(-2*s); denominator = 10*s*(s+1)*(s+2); sys = tf(numerator, denominator); z = zero(sys); p = pole(sys); disp('Zeros:'); disp(z); disp('Poles:'); disp(p);
gistlibby LogSnag