use matlab to find the poles and zeros of the following function 𝑀(𝑠) = 100𝑠(𝑠 βˆ’ 1)/ (𝑠 + 2)(𝑠 2 + 3𝑠 + 2).using tf function in matlab

main.m
num = [100 0 -100];   % numerator coefficients
den = [1 5 2 4];      % denominator coefficients
tf = tf(num,den)      % transfer function
zeros_tf = zero(tf)   % zeros of transfer function
poles_tf = pole(tf)   % poles of transfer function
240 chars
6 lines

gistlibby LogSnag