exprndPseudo-random number of an exponential distribution
exprnd(mu)mu.mu should contains positive real numbers.mu.exprnd(mu,m)mu.m should be a positive integer.m-by-m matrix.mu should be a scalar or an m-by-m matrix.mu should contains positive real numbers.exprnd(mu, s1, s2, ..., sn)mu.s1, s2, ... sn should be non-negative real integers.[s1, s2, ..., sn].mu should be a scalar or an array of size [s1, s2, ..., sn].mu should contains positive real numbers. exprnd(mu, sizeVec)mu. The output's size is specified by the size vector sizeVec.mu should be a scalar, or an array of size sizeVec.mu should contains positive real numbers.% Random inter-arrival times of a queue
% with mean customer-arrival rate
% equal to 3 people per minute.
% Mean inter-arrival time (minutes per customer)
mean_time = 1 / 3;
% 10 random interval-arrival times
r = exprnd(mean_time, 1, 10)
r = 1e-1 ×
Columns 1 through 3:
3.5380 0.3408 3.1718
Columns 4 through 6:
8.4215 7.0371 0.3357
Columns 7 through 9:
0.0515 0.7422 3.0326
Column 10:
1.2894