Function to return poisson random variable

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

Antworten (1)

Ridwan Alam
Ridwan Alam am 17 Dez. 2019
Bearbeitet: Ridwan Alam am 17 Dez. 2019

0 Stimmen

random('Poisson',lambda)

Produkte

Gefragt:

am 17 Dez. 2019

Bearbeitet:

am 17 Dez. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by