In MATLAB, you can find the poles and zeros of a transfer function by first defining the transfer function using the tf command and then using the roots function to find the poles and zeros. Here's how you can do it for the given function 𝑀(𝑠) = 𝑒^(-2𝑠)/(10𝑠(𝑠 + 1)(𝑠 + 2)):
main.m125 chars8 lines
In the code above:
M using the tf function.pole function to find the poles and zero function to find the zeros of the transfer function M.This code will output the poles and zeros of the given transfer function.
gistlibby LogSnag