Write a program to produce the probability density function of binomial distribution, i.e. a function that only returns 2 possible values(0 and 1). The probability of returning 0 is p, the probability returning 1 is q. where p + q = 1.

Write a program to produce the probability density function of binomial distribution, i.e. a function that only returns 2 possible values(0 and 1). The probability of returning 0 is p, the probability returning 1 is q. where p + q = 1.

Réponses (0)

Cette question est clôturée.

Clôturé :

le 17 Jan 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by