?? erf.m
字號:
function y = erf(x)
%ERF Error function.
% Y = ERF(X) is the error function for each element of X. X must be
% real. The error function is defined as:
%
% erf(x) = 2/sqrt(pi) * integral from 0 to x of exp(-t^2) dt.
%
% Class support for input X:
% float: double, single
%
% See also ERFC, ERFCX, ERFINV.
% Ref: Abramowitz & Stegun, Handbook of Mathematical Functions, sec. 7.1.
% Copyright 1984-2004 The MathWorks, Inc.
% $Revision: 5.13.4.3 $ $Date: 2004/07/05 17:01:52 $
% Derived from a FORTRAN program by W. J. Cody.
% See ERFCORE.
y = erfcore(x,0);
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -