%
% RCTDEMO1 Robust Control Toolbox Demonstration
%

% R. Y. Chiang & M. G. Safonov 3/88
% Copyright (c) 1988 by the MathWorks, Inc.
% All Rights Reserved.
% ----------------------------------------------------------------
clc
disp('       ')
disp(' ')
disp(' ')
disp('                   <<<  Robust Control Toolbox Demo  >>>') 
disp('    ')
disp('   ')
disp('                     1). LQG-Based Synthesis')
disp('                     2). H2 & H-Inf Synthesis')
disp('                     3). Basis-Free Model Reduction')
disp('                     4). ACC Benchmark Problems')
disp('                     5). MU-Synthesis for a Simple Problem')
disp('                     6). MU-Synthesis for ACC Benchmark Problem')
disp('                     7). Hierarchical Data Structure')
disp('                     8). H-Inf Synthesis for Double-Integrator Plant')
disp(' ')
disp('                     0). Quit ..')
disp('  ')
Rctdemo = input('       Select one of the above options: ');
format short e
% ----------------------------------------------------------------------
if Rctdemo == 0
   clc
   disp(' ')
   disp(' ')
   disp('  ')
   disp('  ')
   disp('                   * * * * * * * * * * * * * * * * *')
   disp('                   *  End of RCTDEMO  ......       *')
   disp('                   *                               *')
   disp('                   * Good luck with your design !! *')
   disp('                   * * * * * * * * * * * * * * * * *')
   break
end
% ---------------------------------------------------------------------
if Rctdemo == 1
   ltrdemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 2
   hinfdemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 3
   mrdemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 4
   accdemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 5
   mudemo1
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 6
   mudemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 7
   sysdemo
   rctdemo1
end
% ----------------------------------------------------------------------
if Rctdemo == 8
   dintdemo
   rctdemo1
end
%
% --------- End of RCTDEMO1.M --- RYC/MGS %
