MATLAB and Simulink Files

by

 

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

ch4ti4.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.4
% Use the following MATLAB and Symbolic Math Toolbox
% statements to evaluate the effect of higher-order poles 
% by finding the component parts of the time response of c1(t)
% and c2(t)in Example 4.10.

'TryIt 4.4'
syms s
C1=26.25*(s+4)/...
(s*(s+3.5)*...
    (s+5)*(s+6));
C2=26.25*(s+4)/...
(s*(s+4.01)*...
    (s+5)*(s+6));
c1=ilaplace(C1);
c1=vpa(c1,3);
'c1'
pretty(c1)
c2=ilaplace(C2);
c2=vpa(c2,3);
'c2'
pretty(c2)

Contact us