% Nise, N.S.
% Control Systems Engineering, 6th ed.
% John Wiley & Sons, Hoboken, NJ, 07030
% Control Systems Engineering Toolbox Version 6.0
% Copyright 2011 by John Wiley & Sons, Inc.
% TryIt 11.1
% Use MATLAB, the Control System Toolbox, and the
% following statements to solve Skill-Assessment
% Exercise 11.1.
% In the SISOTOOLWindow:
% 1. Select Import . . . in the File menu.
% 2. Click on G in the System Data Window and click Browse. . .
% 3. In the Model Import Window select radio button
% Workspace and select G in Available Models. Click Import,
% then Close.
% 4. Click Ok in the System Data Window.
% 5. Right-click in the Bode graph area and be sure all
% selections under Show are checked.
% 6. Grab the stability margin point in the magnitude diagram
% and raise the magnitude curve until the phase curve shows
% the phase margin calculated by the program and shown in
% the MATLAB Command Window as Pm.
% 7. Right-click in the Bode plot area, select Edit
% Compensator. . . and read the gain under Compensator
% in the resulting window.