필터 지우기
필터 지우기

May I ask how to plot Poisson distribution plot?

조회 수: 6 (최근 30일)
Chris
Chris 2022년 10월 20일
답변: David Hill 2022년 10월 20일
lamda = 47/42;
year_span = 1, 2, ....., 9;
x = 0;
p = (exp(-lamda*year_span))*((lamda*year_span)^x)/(factorial(x));
1-p
Then how can I get the plot of probability with this code?
(p is a formula of Poisson distribution and the year_span will be changed from 1 to 9)

채택된 답변

David Hill
David Hill 2022년 10월 20일

추가 답변 (0개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by