Navigation

Operators and Keywords

Function List:

C++ API

discrete_rnd.m File Reference


Variables

function rnd

Variable Documentation

Initial value:

 discrete_rnd (v, p, r, c)

  if (nargin == 4)
    if (! (isscalar (r) && (r > 0) && (r == round (r))))
      error ("discrete_rnd: r must be a positive integer")