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

  1. function y = erfcx(x)
  2. %ERFCX    Scaled complementary error function.
  3. %    y = erfcx(x).
  4. %    y = exp(x^2) * erfc(x) ~ (1/sqrt(pi)) * 1/x for large x.
  5. %
  6. %    See also ERF, ERFC.
  7.  
  8. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  9.  
  10. % Derived from a FORTRAN program by W. J. Cody.
  11.  
  12. y = erfcore(x,2);
  13.  
  14.