Skip to content

rande

general · scripts/general/rande.m

RANDE  Exponentially distributed pseudorandom numbers (Octave name).
  R = RANDE(...) returns samples from the unit-mean exponential
  distribution.  Arguments match RAND (size specs, "single", and
  "state"/"seed"/"twister" control words).

  Octave-compatible public name wrapping __rande__. MATLAB has no
  public rande; portable code can use -log(rand(...)) for the same
  distribution. Unmarked MATLAB-mode scripts that never call this name
  are unaffected.

  See also RAND, RANDN, RANDG, RANDP.