Mercurial > octave-nkf
comparison scripts/statistics/distributions/binornd.m @ 5428:2a16423e4aa0
[project @ 2005-08-23 18:38:27 by jwe]
author | jwe |
---|---|
date | Tue, 23 Aug 2005 18:38:28 +0000 |
parents | bee21f388110 |
children | 34f96dd5441b |
comparison
equal
deleted
inserted
replaced
5427:a92afe70fb8d | 5428:2a16423e4aa0 |
---|---|
27 ## | 27 ## |
28 ## If @var{r} and @var{c} are omitted, the size of the result matrix is | 28 ## If @var{r} and @var{c} are omitted, the size of the result matrix is |
29 ## the common size of @var{n} and @var{p}. | 29 ## the common size of @var{n} and @var{p}. |
30 ## @end deftypefn | 30 ## @end deftypefn |
31 | 31 |
32 ## Author: KH <Kurt.Hornik@ci.tuwien.ac.at> | 32 ## Author: KH <Kurt.Hornik@wu-wien.ac.at> |
33 ## Description: Random deviates from the binomial distribution | 33 ## Description: Random deviates from the binomial distribution |
34 | 34 |
35 function rnd = binornd (n, p, r, c) | 35 function rnd = binornd (n, p, r, c) |
36 | 36 |
37 if (nargin > 1) | 37 if (nargin > 1) |