Gistlib Logo

gistlib

poles and zeroes of g(s) =(s-3)(6+4se^-2s+3e^-4s)//(s+2)(s^2+3s+2) in matlab

main.m
num = [1 -3];
den = [1 5 6];
[z, p] = tf2zp(num, den);
disp('Zeros:');
disp(z);
disp('Poles:');
disp(p);
105 chars
8 lines

similar matlab code snippets

linearize a second-order system in matlab
calculate pid controller output for a process with a set-point change in matlab
iterative linear quadratic regulator for a cart pole system in matlab
linearize a second-order system without symbolic math toolbox in matlab
automatic pid tuning in matlab
build a nonlinear robust mpc in matlab in matlab
complex conjugate nyquist in matlab
nyquist plot in matlab
generate model for car steering 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

gistlibby LogSnag