?? ltpnorm.m
字號:
function p = ltpnorm(z)%LTPNORM Lower tail probability for standard normal distribution.%% P = LTPNORM(Z) returns the lower tail probability for the standard normal% distribution function. I.e., it returns P = Pr{X < Z}, where X has a% standard normal distribution.% Author: Peter J. Acklam% Time-stamp: 2003-04-13 11:45:27 +0200% E-mail: pjacklam@online.no% URL: http://home.online.no/~pjacklam %p = 0.5 * (1 + erf(z/sqrt(2))); p = 0.5 * erfc(-z / sqrt(2)); % fix up for a bug in erfcore (MATLAB R11 and earlier) p(isnan(z)) = NaN;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -