MATLAB and Simulink Files

by

 

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

ch8ti3.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 8.3
% Use MATLAB, the Control System Toolbox, and the
% following statements to plot the root locus for Skill-
% Assessment Exercise 8.5. Solve the remaining parts of
% the problem by clicking on the appropriate points on 
% the plotted root locus.

'TryIt 8.3'
numg=poly([2 4]);
deng=[1 6 25];
G=tf(numg,deng)
rlocus(G)
z=0.5
sgrid(z,0)

Contact us