Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: poissrnd
Date: Sun, 13 May 2012 00:01:51 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 9
Message-ID: <jomtlf$dan$1@newscl01ah.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1336867311 13655 172.30.248.48 (13 May 2012 00:01:51 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 13 May 2012 00:01:51 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1274244
Xref: news.mathworks.com comp.soft-sys.matlab:767660

Hi,

I know exactly what a poisson variable is, however, can someone explain how does poissrnd function exactly work?

when I try 
R=poissrnd(2/10,[20 4]);
does this mean I am creating the a size [20, 4] matrix that shows where/when my errors are and whats is the amount of error ?  (is 2/10 the probability of occurrence of error for each element in the [20 4] matrix?)

I would really appreciate the answer.