I'm trying to generate 10000 random numbers taken from a log normal distribution who's associated normal distribution has mean = 0.3 and std. dev. = 0.05 in MATLAB.
I'm using the built in lognrnd
function.
My attempt is to do:
R = lognrnd(0.3,0.05,10000,1)
However, when I plot the histogram of R
using hist(R)
, the associated plot is normal, not log normal.
Where am I messing up? If the mean = 0.3 and std. dev. = 0.05 of the normal distribution, shouldn't the generated log normal numbers have a mean = 0.3 and std. dev = 0.05?