\section{RANDEXP Generate Exponential Random Variable}

\subsection{Usage}

Generates a vector of exponential random variables with
the specified parameter.  The general syntax for its use is
\begin{verbatim}
   y = randexp(lambda)
\end{verbatim}
where \verb|lambda| is a vector containing the parameters for
the generated random variables.
\subsection{Function Internals}

The exponential random variable is usually associated with
the waiting time between events in a Poisson random process.
The PDF of an exponential random variable is:
\[
   f(x) = \lambda e^{-\lambda x}
\]
\subsection{Example}

Here is an example of using the \verb|randexp| function to generate
some exponentially distributed random variables
\begin{verbatim}
--> randexp(ones(1,6))
ans = 
  <float>  - size: [1 6]
 
Columns 1 to 5
 0.0607746840  0.0018603944  1.1266198158  0.2011622190  0.5079082251  
 
Columns 6 to 6
 3.4205288887  

\end{verbatim}
