MATLAB: Transform Mean and standard deviation that follow normal distribution into Mi and Sigma that follow Logarithmic normal distribution (Log-Normal)

lognormallognrndMATLABmeannormstarstatistics

As the title described, I have a problem with reliability with Mean Time To Repair (MTTR) with Mean = 550 e Standard derivation = 27 hours (Normal distribution). But, The maintenance is better represented as a Lognormal distribution and not Normal Distribution.
How can I convert Mi and Standart Derivation used into Normal Distribution to use it in Lognormal distribution.
Cheers

Best Answer

finalmu = 550;
finalsigma = 27;
lnsigma = sqrt( log( finalsigma^2 / finalmu^2 + 1) );
lnmu = log( finalmu/exp(0.5*lnsigma^2) );