How do I generate multiple exponential random variables in matlab?
I know the code:
exprnd(mu)
but lets say I want 1000 random variables, how can I do this so I don't have to keep typing out "exprnd(mu)" 1000 times?
EDIT: Is it simple a matrix (like maybe 10 x 100 or something) and then there obviously would be a 1000 numbers in this matrix?
Best Answer