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

  1. %
  2. % HINFDEMO H-2 & H-inf 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('               <<<  H2 & H-inf Optimal Control Synthesis Demo  >>>') 
  14. disp('    ')
  15. disp('   ')
  16. disp('                    1). SISO W-Plane H-inf Actuator design example')
  17. disp(' ')
  18. disp('                    2). MIMO H2 & H-inf fighter design example')
  19. disp(' ') 
  20. disp('                    3). MIMO H-inf large space structure design example')
  21. disp(' ')
  22. disp('                    4). Go to the main menu')
  23. disp(' ')
  24. disp('                    0). Quit ..')
  25. disp('  ')
  26. Demono = input('       Select one of the above options: ');
  27. % ----------------------------------------------------------------------
  28. if Demono == 0
  29.    clc
  30.    disp(' ')
  31.    disp(' ')
  32.    disp('  ')
  33.    disp('  ')
  34.    disp('                   * * * * * * * * * * * * * * * * *')
  35.    disp('                   *  End of HINFDEMO  ......      *')
  36.    disp('                   *                               *')
  37.    disp('                   * Good luck with your design !! *')
  38.    disp('                   * * * * * * * * * * * * * * * * *')
  39.    break
  40. end
  41. if Demono == 4
  42.    rctdemo1
  43. end
  44. % ---------------------------------------------------------------------
  45. if Demono == 1
  46.    actdemo
  47.    hinfdemo
  48. end
  49. % ----------------------------------------------------------------------
  50. if Demono == 2
  51.    hmatdemo
  52.    hinfdemo
  53. end
  54. % ----------------------------------------------------------------------
  55. if Demono == 3
  56.    josedemo
  57.    hinfdemo
  58. end
  59. %
  60. % --------- End of HINFDEMO.M --- RYC/MGS %