Functions > Design of Experiments > Monte Carlo Simulation > Random Numbers for Monte Carlo Simulation
Random Numbers for Monte Carlo Simulation
LogNormal(n)—Returns a vector of n random numbers having the standard log normal distribution. LogNormal(n) = rlnorm(n, 0, 1).
Normal(n)—Returns a vector of n random numbers having the standard normal distribution. Normal(n) = rnorm(n, 0, 1).
Uniform(n)—Returns a vector of n random numbers having a uniform distribution. Uniform(n) = runif(n, −6, 6).
Weibull(n)—Returns a vector of n random numbers having the Weibull distribution with shape parameter 1. Weibull(n) = rweibull(n, 1).
Arguments
n is the integer number of samples.
Was this helpful?