Effacer les filtres
Effacer les filtres

Function to return poisson random variable

3 vues (au cours des 30 derniers jours)
Moh. Saadat
Moh. Saadat le 17 Déc 2019
Modifié(e) : Ridwan Alam le 17 Déc 2019
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

Réponses (1)

Ridwan Alam
Ridwan Alam le 17 Déc 2019
Modifié(e) : Ridwan Alam le 17 Déc 2019
random('Poisson',lambda)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by