From: mahmud on
I not am using the latest matlab because i don't have it. my matlab does not have the Poisson generator function like the new matlab. can someone give me the coding of the Poisson distribution that equals to Poisson distribution (i.e: A = poissrnd(lambda,n,m)). I am really desperate, please someone help me out.

tq
From: TideMan on
On Apr 29, 2:07 pm, mahmud <mahmusyu...(a)gmail.com> wrote:
> I not am using the latest matlab because i don't have it. my matlab does not have the Poisson generator function like the new matlab. can someone give me the coding of the Poisson distribution that equals to Poisson distribution (i.e: A = poissrnd(lambda,n,m)). I am really desperate, please someone help me out.
>
> tq

Providing the parameter lambda is small (< 20 or so), the Knuth code
is about 3 lines.
Have a look here:
http://en.wikipedia.org/wiki/Poisson_distribution
From: TideMan on
On Apr 29, 4:18 pm, TideMan <mul...(a)gmail.com> wrote:
> On Apr 29, 2:07 pm, mahmud <mahmusyu...(a)gmail.com> wrote:
>
> > I not am using the latest matlab because i don't have it. my matlab does not have the Poisson generator function like the new matlab. can someone give me the coding of the Poisson distribution that equals to Poisson distribution (i.e: A = poissrnd(lambda,n,m)). I am really desperate, please someone help me out.
>
> > tq
>
> Providing the parameter lambda is small (< 20 or so), the Knuth code
> is about 3 lines.
> Have a look here:http://en.wikipedia.org/wiki/Poisson_distribution

There is also randraw in the File Exchange