MATLAB and Simulink Files

by

 

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

ch4ti1.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.1
% Use the following MATLAB statements to calculate the
% answers to Skill-Assessment Exercise 4.5. Ellipses mean
% code continues on next line.

'TryIt 4.1'
numg=361;
deng=[1 16 361];
omegan=sqrt(deng(3)...
/deng(1))
zeta=(deng(2)/deng(1))...
/(2*omegan)
Ts=4/(zeta*omegan)
Tp=pi/(omegan*sqrt...
(1-zeta^2))
pos=100*exp(-zeta*...
pi/sqrt(1-zeta^2))
Tr=(1.768*zeta^3-...
0.417*zeta^2+1.039*zeta+1)/omegan

Contact us