在用
Matlab繪制各種常用概率分布的密度函數(shù)時,都比較簡單,唯獨超幾何分布試了幾次都不成功,輸出結果總是
L,d
LE-L bX.ja;; ans =
\MxoZ ut>4U'.H NaN
Oz|K8p &t5{J53 查看了一下幫助 help hygepdf
$?,a[79 Ngb(F84H? HYGEPDF Hypergeometric probability density function.
x^"ES%* >7!6nF3x, Y = HYGEPDF(X,M,K,N) returns the hypergeometric probability
<I}2k density function at X with integer parameters M, K, and N.
=9kN_:- Note: The density function is zero unless X is an integer.
izKfU?2]X@
)>D+x5o] The size of Y is the common size of the input arguments. A scalar input
9}B`uJ functions as a constant matrix of the same size as the other inputs.
b 1&i#