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
回答(1 个)
Ridwan Alam
2019-12-17
编辑:Ridwan Alam
2019-12-17
random('Poisson',lambda)
类别
在 帮助中心 和 File Exchange 中查找有关 Poisson Distribution 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!