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

📄 em_invgausscdf.m

📁 EM分群,matlab程式碼,用來分群用的
💻 M
字号:
function y = EM_invgausscdf(x,par)
%INVGAUSSPDF Inverse Gaussian cumulative distribution function.
%   Y = INVGAUSSPDF(X,MU,LAM) returns the cumulative of the inverse gaussian function 
%   with parameters MU and LAM, at the values in X.
%
%   The size of Y is the size of the X argument. (GENERALIZE)
%

%   References (CHECK OUT):
%      [1]  .....
% 
%   Created by Enrico Rossoni - 17/06/2004
mu = par(1);
lam = par(2);


% Initialize Y to zero.
y = zeros(size(x));

x1 = sqrt(lam./x);
x2 = x./mu;

y = normcdf(x1.*(x2-1), 0,1) + exp(2*lam./mu).* normcdf(-x1.*(x2+1), 0,1);

⌨️ 快捷键说明

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