필터 지우기
필터 지우기

how to plot the cdf of a bernoulli using matlab

조회 수: 1 (최근 30일)
oshomah kanoba
oshomah kanoba 2015년 3월 1일
답변: Greig 2015년 3월 1일
how do i plot the cdf of a bernoulli using matlab

답변 (1개)

Greig
Greig 2015년 3월 1일
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.

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by