我是菜鸟 |
2008-10-27 15:59 |
Matlab中超几何分布作图介绍
在用Matlab绘制各种常用概率分布的密度函数时,都比较简单,唯独超几何分布试了几次都不成功,输出结果总是 Y1Q240
dzQs7D} ans = -1{f(/ PZ>(cvX& NaN QArph0e /8#e < p 查看了一下帮助 help hygepdf 5,\-; Ct][B{ HYGEPDF Hypergeometric probability density function. 9])Id;+91 S,Z~-j Y = HYGEPDF(X,M,K,N) returns the hypergeometric probability {^D; ($lm density function at X with integer parameters M, K, and N. Qz"+M+~%& Note: The density function is zero unless X is an integer. R-Ys<; 2YDD`:R
The size of Y is the common size of the input arguments. A scalar input J!Q #xs functions as a constant matrix of the same size as the other inputs. t`1M}}. Oq^t[X' See also hygecdf, hygeinv, hygernd, hygestat, pdf. /3#h]5Y"T E~@&&dU8 Reference page in Help browser enx+,[ doc hygepdf 5X>K#N BG6.,'~7o 超几何分布参数较多,这里关于三个参数的指代不详。又在互联网上查了相关资料,包括该函数的定义式: |< | |