MATLAB and Simulink Files

by

 

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

ch13ti3.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 13.3
% Use MATLAB, the Control System Toolbox, and the 
% following statements to solve Skill-Assessment 
% Exercise 13.8.

'TryIt 13.3'
Gz=zpk(-0.5,[0.25,0.75],...
    1,[])
rlocus(Gz)
zgrid(0.5,[])
[K,p]=rlocfind(Gz)

% Note: When the root locus appears, click on
% the intersection of the 0.5 damping ratio
% curve and the root locus to calculate the gain.

Contact us