By applying MATLAB and the Nyquist criterion, determine the stability of the system whose open-loop transfer function is given by
G(s)H(s)=K G_{o}(s)={\frac{K}{s^{2}+s+1}}
Compare this result with that of the Bode plot.
The input to and output from MATLAB are included in Program Listing 11.17 and Figure 11E17. With reference to Figure 11E17, the system is stable for all positive K.
Program Listing 11.17
>> num = [0 0 1];
>> den = [1 1 1];
>> nyquist(num,den)
>> title(‘Nyquist Plot of K /(s²+s+1) ’)
>> bode(num,den)
>> title(‘Bode Plot of K /(s²+s+1) ’)