home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l455 / 7.ddi / ROBUST.DI$ / LTRDEMO.M < prev    next >
Encoding:
Text File  |  1993-03-11  |  1.5 KB  |  55 lines

  1. %
  2. % LQG/LTR Optimal Control Synthesis Demonstration
  3. %
  4.  
  5. % R. Y. Chiang & M. G. Safonov 3/88
  6. % Copyright (c) 1988 by the MathWorks, Inc.
  7. % All Rights Reserved.
  8. % ---------------------------------------------------------------
  9. clc
  10. disp('       ')
  11. disp(' ')
  12. disp(' ')
  13. disp('                <<<  LQG/LTR Optimal Control Synthesis Demo  >>>') 
  14. disp('    ')
  15. disp('   ')
  16. disp('                     1). SISO fighter design example')
  17. disp(' ')
  18. disp('                     2). MIMO fighter design example')
  19. disp(' ') 
  20. disp('                     3). Go to the main menu')
  21. disp(' ')
  22. disp('                     0). Quit ...')
  23. disp('  ')
  24. Demono = input('       Select one of the above options: ');
  25. format short e
  26. % ----------------------------------------------------------------------
  27. if Demono == 0
  28.    clc
  29.    disp(' ')
  30.    disp(' ')
  31.    disp('  ')
  32.    disp('  ')
  33.    disp('                   * * * * * * * * * * * * * * * * *')
  34.    disp('                   *  End of LQG/LTRDEMO  ......   *')
  35.    disp('                   *                               *')
  36.    disp('                   * Good luck with your design !! *')
  37.    disp('                   * * * * * * * * * * * * * * * * *')
  38.    break
  39. end
  40. if Demono == 3
  41.    rctdemo1
  42. end
  43. % ---------------------------------------------------------------------
  44. if Demono == 1
  45.    sltrdemo
  46.    ltrdemo
  47. end
  48. % ----------------------------------------------------------------------
  49. if Demono == 2
  50.    mltrdemo
  51.    ltrdemo
  52. end
  53. %
  54. % --------- End of LTRDEMO.M --- RYC/MGS %
  55.