⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 erfc2.m

📁 很好用的统计模式识别工具箱
💻 M
字号:
function [y]=erfc2(x,m,d)
% ERFC2 Normal cumulative distribution function (cdf).
% [y]=erfc2(x,m,d)
% 
% ERFC2 computes normal cumulative distribution function (cdf)
%  using Matlab's function 'erfc'. The argument m is mean value
%  and d is stantard deviation. The computed vlaue is 
%
%  erfc2(x) = 1/(sqrt(2*pi)*d) * integral_{x}^{inf}exp(-(t-m)^2/(2*d^2) dt
%
% See also ERFC
%

% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac
% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz
% Modifications
%  27-Oct-2001, V. Franc

x2=(x-m)/(sqrt(2)*d);

y=erfc(x2)/2;

return;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -