%
% LQG/LTR Optimal Control Synthesis Demonstration
%

% R. Y. Chiang & M. G. Safonov 3/88
% Copyright (c) 1988 by the MathWorks, Inc.
% All Rights Reserved.
% ---------------------------------------------------------------
clc
disp('       ')
disp(' ')
disp(' ')
disp('                <<<  LQG/LTR Optimal Control Synthesis Demo  >>>') 
disp('    ')
disp('   ')
disp('                     1). SISO fighter design example')
disp(' ')
disp('                     2). MIMO fighter design example')
disp(' ') 
disp('                     3). Go to the main menu')
disp(' ')
disp('                     0). Quit ...')
disp('  ')
Demono = input('       Select one of the above options: ');
format short e
% ----------------------------------------------------------------------
if Demono == 0
   clc
   disp(' ')
   disp(' ')
   disp('  ')
   disp('  ')
   disp('                   * * * * * * * * * * * * * * * * *')
   disp('                   *  End of LQG/LTRDEMO  ......   *')
   disp('                   *                               *')
   disp('                   * Good luck with your design !! *')
   disp('                   * * * * * * * * * * * * * * * * *')
   break
end
if Demono == 3
   rctdemo1
end
% ---------------------------------------------------------------------
if Demono == 1
   sltrdemo
   ltrdemo
end
% ----------------------------------------------------------------------
if Demono == 2
   mltrdemo
   ltrdemo
end
%
% --------- End of LTRDEMO.M --- RYC/MGS %
