Filter löschen
Filter löschen

how to plot the cdf of a bernoulli using matlab

1 Ansicht (letzte 30 Tage)
oshomah kanoba
oshomah kanoba am 1 Mär. 2015
Beantwortet: Greig am 1 Mär. 2015
how do i plot the cdf of a bernoulli using matlab

Antworten (1)

Greig
Greig am 1 Mär. 2015
A Bernoulli distribution is a Binomial distribution where the number of trials is 1, so you should be able to use
binocdf(x, 1, p)
where x is the number of successes (0 or 1), and p is the probability of success.

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by