MATLAB: Problem with lognormal cumulative distribution function

lognormal cumulative distribution function

Hi. i want to get the lognormal cumulative distribution function for a variable with mean=0.04 and stdv=0.01 :
cdf('Lognormal',value,mean,stdv)
cdf('Lognormal',0.04,0.04,0.01)
but for the numbers around the mean value the CDF is zero which it should not be. could you please help me what is the prolem

Best Answer

you need to take the exponential of number:
logncdf(exp(.04),.04,.01)
ans =
0.5000