MATLAB and Simulink Files

by

 

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

ch4ti2.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.2
% Use the following MATLAB and Control System Toolbox
% statements to investigate the effect of the additional
% pole in Skill-Assessment Exercise 4.6(a). Move the 
% higher-order pole originally at -15 to other values by
% changing a in the code.

'TryIt 4.2'
a=15
numga=100*a;
denga=conv([1 a],...
[1 4 100]);
Ta=tf(numga,denga);
numg=100;
deng=[1 4 100];
T=tf(numg,deng);
step(Ta,'.',T,'-')

Contact us