MATLAB and Simulink Files

by

 

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

ch5ti4.m
% Nise, N.S. 
% Control Systems Engineering, 6th ed. 
% John Wiley & Sons, Hoboken, NJ, 07030
%
% Control Systems Engineering Toolbox Version 6.0 
% Copyright  2011 by John Wiley & Sons, Inc.

% TryIt 5.4
% Use the following MATLAB and Control System Toolbox
% statements to convert the transfer function of 
% Eq. (5.55)to the observer canonical state-space 
% representation of Eqs. (5.65).

'TryIt 5.4'
numg=[1 7 2];
deng=[1 9 26 24];
[Acc,Bcc,Ccc,Dcc]...
=tf2ss(numg,deng);
Aoc=transpose(Acc)
Boc=transpose(Ccc)
Coc=transpose(Bcc)

Contact us