erfc.m
来自「可用于对信号的频谱进行分析,希望站长能整理好,以便大家互相学习」· M 代码 · 共 22 行
M
22 行
function y = erfc(x)
%ERFC Complementary error function.
% Y = ERFC(X) is the complementary error function for each element
% of X. X must be real. The complementary error function is
% defined as:
%
% erfc(x) = 2/sqrt(pi) * integral from x to inf of exp(-t^2) dt.
% = 1 - erf(x).
%
% Class support for input X:
% float: double, single
%
% See also ERF, ERFCX, ERFINV.
% Ref: Abramowitz & Stegun, Handbook of Mathematical Functions, sec. 7.1.
% Copyright 1984-2004 The MathWorks, Inc.
% $Revision: 5.12.4.3 $ $Date: 2004/07/05 17:01:53 $
% Derived from a FORTRAN program by W. J. Cody.
y = erfcore(x,1);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?