From: mahmud on 28 Apr 2010 18:07 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 29 Apr 2010 00:18 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 29 Apr 2010 00:27 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
|
Pages: 1 Prev: Low frequency filter Next: Figure out image filter frequency in cycles/ph? |