| Statistics Toolbox | Search  Help Desk |
| lognpdf | Examples See Also |
Lognormal probability density function (pdf).
Syntax
Y = lognpdf(X,MU,SIGMA)
Description
Y = logncdf(X,MU,SIGMA) computes the lognormal cdf with mean MU and standard deviation SIGMA at the values in X.
The size of Y is the common size of X, MU and SIGMA. A scalar input functions as a constant matrix of the same size as the other inputs.
The lognormal pdf is:
Example
x = (0:0.02:10);
y = lognpdf(x,0,1);
plot(x,y);grid;xlabel('x');ylabel('p')
Reference
Mood, A. M., F.A. Graybill, and D.C. Boes, Introduction to the Theory of Statistics, Third Edition, McGraw Hill 1974 p. 540-541.See Also
logncdf, logninv, lognrnd, lognstat