home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 3.ddi / DEMOS.DI$ / NALIST.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  1.7 KB  |  52 lines

  1. %NALIST    Numerical analysis demonstrations.
  2.  
  3. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  4.  
  5. echo off
  6. clc
  7. disp('MATLAB itself handles the linear side of numerical analysis.  A')
  8. disp('collection of M-files we call "function functions" extends the')
  9. disp('capabilities of MATLAB into the nonlinear aspects of numerical')
  10. disp('analysis.  The primary tools include:')
  11. disp(' ')
  12. disp('  * Numerical solution of ordinary differential equations using')
  13. disp('    automatic step size Runge-Kutta methods. (ODE45 and ODE23)')
  14. disp(' ')
  15. disp('  * Numerical evaluation of integrals using a recursive, adaptive')
  16. disp('    Simpson''s rule. (QUAD)')
  17. disp(' ')
  18. disp('  * Finding a zero of functions of one variable. (FZERO)')
  19. disp(' ')
  20. disp('  * Plotting functions of one variable, with adaptive choice of')
  21. disp('    evaluation points. (FPLOT)')
  22. disp(' ')
  23. disp('  * Finding a minimum of functions of several variables using the')
  24. disp('    Nelder-Meade simplex algorithm. (FMINS)')
  25. disp(' ')
  26. disp('This demonstration also includes two dynamic text "movies" which')
  27. disp('show the details of two matrix computations -- the QR algorithm')
  28. disp('for matrix eigenvalues, and Gauss-Jordan elimination to compute')
  29. disp('the reduced row echelon form of a matrix.')
  30.  
  31. % Labels
  32. labels = str2mat(...
  33.    'ODEs', ...
  34.    'Quadrature', ...
  35.    'Zerofinding', ...
  36.    'Function Plot', ...
  37.    'Nonlinear Fit', ...
  38.    'Matrix Eigenvalues',...
  39.    'Row Echelon Form');
  40.  
  41. % Callbacks
  42. callbacks = [ ...
  43.    'odedemo        '
  44.    'quaddemo       '
  45.    'zerodemo       '
  46.    'fplotdemo      '
  47.    'fitdemo        '
  48.    'eigmovie       '
  49.    'rrefmovie      '];
  50.  
  51. choices('NADE', 'Numerical Analysis', labels, callbacks);
  52.