A closed-loop feedback system is shown in Figure. With the help of MATLAB, draw the Nyquist trace and the Bode diagram. Analyze and indicate the behavior of the system.
a) Stability in open loop.
b) Stability in closed loop.
R(s)
Y(s)
10s + 1
2 + 1/s
Attach MATLAB code.