Question

2. Given a system's transfer function, it's easy to generate Bode plots and to determine the system's response to an

arbitrary input using MATLAB. Consider, for instance, the system with transfer function

G(s) =

X(s)

F(x)

Let's name this system Bob by executing the command

Bob = tf([1 0 0 11, [1 3 2 21)

in MATLAB. The subsequent command

bode (Bob)

produces these Bode plots:

pys

+1

+38² +28-

+0+0+1

³+3² +2+3

Executing the command

step (Bob)

produces a graph of the response z(t) to a unit step input f(t) = u(t):

Question image 1