在用
Matlab繪制各種常用概率分布的密度函數(shù)時,都比較簡單,唯獨超幾何分布試了幾次都不成功,輸出結(jié)果總是
M3xi 0/. <i`K%+<WO ans =
,'@ISCK^ u>-uRz<)t NaN
?\ i,JJO (l,YI"TzT 查看了一下幫助 help hygepdf
r|sy_Sk/{ U S~JLJI HYGEPDF Hypergeometric probability density function.
{gq:sj> s!zr>N" Y = HYGEPDF(X,M,K,N) returns the hypergeometric probability
Vt 5XC~jK density function at X with integer parameters M, K, and N.
@x\gk5 Note: The density function is zero unless X is an integer.
vcUM]m8k "Mu$3w The size of Y is the common size of the input arguments. A scalar input
YJ;a{)e functions as a constant matrix of the same size as the other inputs.
A 5\"e^> 4?6'~G$k See also hygecdf, hygeinv, hygernd, hygestat, pdf.
"\P~Re"EH fTnyCaB Reference page in Help browser
sZ(Q4)r
doc hygepdf