Gistlib Logo

gistlib

use matlab to find the poles and zeros of the following functions. 𝑀(𝑠) = 𝑒 βˆ’2𝑠 /10𝑠(𝑠 + 1)(𝑠 + 2) in matlab

main.m
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);
172 chars
13 lines

similar matlab code snippets

calculate pid controller output for a process with a set-point change in matlab
generate model for car steering in matlab
build a nonlinear robust mpc in matlab in matlab
linearize a second-order system in matlab
find all zeros of the riemann zeta function in matlab
linearize a second-order system without symbolic math toolbox in matlab
nyquist plot in matlab
iterative linear quadratic regulator for a cart pole system in matlab
automatic pid tuning in matlab
create a class that represents a state machine where a state named "foo" moves to a state named "bar" if input "u" becomes negative in matlab

related categories

matlab
control-systems
poles
zeros

gistlibby LogSnag