To find the zeros and poles of a transfer function in MATLAB, you can use the zero
and pole
functions.
Here is how you can do it for the given transfer function g(s):
main.m112 chars7 lines
Here we first create the transfer function sys
using the numerator and denominator coefficients. Then we use the zero
function to find the zeros and the pole
function to find the poles of the transfer function.
Make sure you have the Control System Toolbox installed in MATLAB to use the functions.
This code will provide you with the zeros and poles of the transfer function g(s).
gistlibby LogSnag