home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / MATFUN.DI$ / EXPM.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  527 b   |  13 lines

  1. %EXPM    Matrix exponential.
  2. %    EXPM(X) is the matrix exponential of X.  EXPM is computed using
  3. %     a scaling and squaring algorithm with a Pade approximation.
  4. %    Although it is not computed this way, if X has a full set
  5. %    of eigenvectors V with corresponding eigenvalues D, then
  6. %     [V,D] = EIG(X) and EXPM(X) = V*diag(exp(diag(D)))/V.
  7. %    See EXPM1, EXPM2 and EXPM3 for alternative methods.
  8. %
  9. %    EXP(X) (that's without the M) does it element-by-element.
  10.  
  11. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  12. %    Built-in function.
  13.