简体   繁体   English

如何用MATLAB计算二项分布?

[英]How do I calculate binomial distribution with MATLAB?

How do I calculate the binomial distribution in MATLAB using two parameters: p and n ?如何使用两个参数在 MATLAB 中计算二项式分布: pn

用这个表情

Use this matlab function:使用这个 matlab 函数:

   Y = binopdf(X,N,P)

http://ch.mathworks.com/help/stats/binopdf.html http://ch.mathworks.com/help/stats/binopdf.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM