Previous Up Next

9.3.13  Producing random numbers with the exponential distribution: randexp

The randexp command finds random numbers chosen according to the exponential distribution (see Section 9.4.15).


Example.
Input:

randexp(2.1)

Output (for example):

0.0288626239833

Previous Up Next