필터 지우기
필터 지우기

Function to return poisson random variable

조회 수: 3 (최근 30일)
Moh. Saadat
Moh. Saadat 2019년 12월 17일
편집: Ridwan Alam 2019년 12월 17일
Hi,
What is the (Is there any) MATLAB function to return a poisson random variable that is NOT NECESSARILY an integer? I know about poissrnd(), but apparently this function only returns integers inspite of any given input of lambda values.
e.g.
poissrnd(5.1)
ans =
7

답변 (1개)

Ridwan Alam
Ridwan Alam 2019년 12월 17일
편집: Ridwan Alam 2019년 12월 17일
random('Poisson',lambda)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by