我是菜鳥 |
2008-10-27 15:59 |
Matlab中超幾何分布作圖介紹
在用Matlab繪制各種常用概率分布的密度函數(shù)時(shí),都比較簡(jiǎn)單,唯獨(dú)超幾何分布試了幾次都不成功,輸出結(jié)果總是 K,bv\j;f DZ5%- ans = I!&|L0Qq \{@s@VBx[ NaN (xpj?zlmM K@Q_q/(%; 查看了一下幫助 help hygepdf ZQ9!k*
^ 3P~I'FQ HYGEPDF Hypergeometric probability density function. *,5V;7OR }GJIM|7^ Y = HYGEPDF(X,M,K,N) returns the hypergeometric probability U*`7 density function at X with integer parameters M, K, and N. Q(
.d!CQ> Note: The density function is zero unless X is an integer. *gfx'$ -hj@^Auf The size of Y is the common size of the input arguments. A scalar input MKLnt
| |