MATLAB and Simulink Files

by

 

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

ch7ti2.m
% Nise, N.S. 
% Control Systems Engineering, 5th ed. 
% John Wiley & Sons, Hoboken, NJ, 07030
%
% Control Systems Engineering Toolbox Version 5.0 
% Copyright  2008 by John Wiley & Sons, Inc.

% TryIt 7.2
% Use MATLAB, the Control System Toolbox, and the
% following statements to solve Skill-Assessment 
% Exercise 7.3 and check the resulting system
% for stability.
    
'TryIt 7.2'
numg=[1 12];
deng=poly([-14 -18]);
G=tf(numg,deng);
KpdK=dcgain(G);
estep=0.1;
K=(1/estep-1)/KpdK
T=feedback(G,1);
poles=pole(T)

Contact us