📄 erfcx.m
字号:
function y = erfcx(x)
%ERFCX Scaled complementary error function.
% Y = ERFCX(X) is the scaled complementary error function for each
% element of X. X must be real. The scaled complementary error
% function is defined as:
%
% erfcx(x) = exp(x^2) * erfc(x)
%
% which is approximately (1/sqrt(pi)) * 1/x for large x.
%
% Class support for input X:
% float: double, single
%
% See also ERF, ERFC, ERFINV.
% Copyright 1984-2004 The MathWorks, Inc.
% $Revision: 5.10.4.3 $ $Date: 2004/07/05 17:01:55 $
% Derived from a FORTRAN program by W. J. Cody.
y = erfcore(x,2);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -