%M_COMPANION is a script that collects m-files of the examples in the book
%SYSTEMS and CONTROL whose solutions employ MATLAB.
%
%
% launched by S. H. Zak on November 19, 2002
clear
map=menu('SYSTEMS and CONTROL MATLAB Companion','Chapter 2---Analysis of Modeling Equations',...,
   'Chapter 3---Linear Systems','Chapter 4---Stability','Chapter 5---Optimal Control',...,
   'Chapter 6---Sliding Modes','Chapter 7---Vector Field Methods','Chapter 8---Fuzzy Systems',..., 
   'Chapter 9---Neural Networks',...,
   'Chapter 11---Chaotic Systems and Fractals',...,
   'QUIT');

if map==1
   chapt_2                       % Analysis of Modeling Equations
elseif map==2
   chapt_3                       % Linear Systems
elseif map==3
   chapt_4                       % Stability
elseif map==4
   chapt_5                        % Optimal Control
elseif map==5
   chapt_6                        % Sliding Modes
elseif map==6
   chapt_7                        % Vector Field Methods
elseif map==7
   chapt_8                        % Fuzzy Systems
elseif map==8
   chapt_9                        % Neural Networks     
% elseif map==9
%   chapt_10                       Genetic Algorithms
elseif map==9
   chapt_11                       % Chaotic Systems and Fractals
end
