comparison scripts/statistics/distributions/geornd.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 ## If @var{r} and @var{c} are given create a matrix with @var{r} rows and 27 ## If @var{r} and @var{c} are given create a matrix with @var{r} rows and
28 ## @var{c} columns. Or if @var{sz} is a vector, create a matrix of size 28 ## @var{c} columns. Or if @var{sz} is a vector, create a matrix of size
29 ## @var{sz}. 29 ## @var{sz}.
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 geometric distribution 33 ## Description: Random deviates from the geometric distribution
34 34
35 function rnd = geornd (p, r, c) 35 function rnd = geornd (p, r, c)
36 36
37 if (nargin == 3) 37 if (nargin == 3)