MATLAB and Simulink Files

by

 

MATLAB and Simulink files for textbook Nise/Controls 6e.

ch10ti4.m
% 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 10.4
% Use MATLAB, the Control System Toolbox, and the
% following statements to solve Skill-Assessment 
% Exercise 10.6(c) using Bode plots.

'TryIt 10.4'
G=zpk([],...
[-5,-20,-50],10000)
bode(G)
grid on

% After the Bode plot appears:
% 1. Right-click in the graph area.
% 2. Select Characteristics.
% 3. Select All Stability Margins.
% 4. Let the mouse rest on the margin points
%    to read the gain and phase margins.

Contact us