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.

Answers (0)

This question is closed.

Asked:

on 17 Jan 2016

Closed:

on 17 Jan 2016

Community Treasure Hunt

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

Start Hunting!