MATLAB and Simulink Files

by

 

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

ch4ti3.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 4.3
% Use the followingMATLAB and Control System Toolbox
% statements to generate Figure 4.25.

'TryIt 4.3'
deng=[1 2 9];
Ta=tf([1 3]*9/3,deng);
Tb=tf([1 5]*9/5,deng);
Tc=tf([1 10]*9/10,deng);
T=tf(9,deng);
step(T,Ta,Tb,Tc)
text(0.5,0.6,'no zero')
text(0.4,0.7,...
'zero at...-10')
text(0.35,0.8,...
'zero at -5')
text(0.3,0.9,'zero at -3')

Contact us