フィルターのクリア

poisson function help !

1 回表示 (過去 30 日間)
Anvinder  Singh
Anvinder Singh 2016 年 2 月 27 日
コメント済み: Anvinder Singh 2016 年 2 月 28 日
I need to imlement a poisson function. In matlab it asks for the value of lamda and x both in order to plaot the function but the value of x is from 0 to infinity. I do not want to give the value of x and want to plot poisson function. I need it to plot the output with random values around the mean value that i provide. Can you please help ?

回答 (1 件)

Roger Stafford
Roger Stafford 2016 年 2 月 28 日
It's hard to understand what you are asking, but perhaps you need to call on the function 'poissrnd' which generates random integers with a poisson distribution. See its description at:
http://www.mathworks.com/help/stats/poissrnd.html
  1 件のコメント
Anvinder  Singh
Anvinder Singh 2016 年 2 月 28 日
Thanks Roger.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by