Statistics Toolbox
  Go to function:
    Search    Help Desk 
lognrnd    Examples   See Also

Random matrices from the lognormal distribution.

Syntax

Description

R = lognrnd(MU,SIGMA) generates lognormal random numbers with parameters, MU and SIGMA. The size of R is the common size of MU and SIGMA if both are matrices. If either parameter is a scalar, the size of R is the size of the other parameter.

R = lognrnd(MU,SIGMA,m) generates lognormal random numbers with parameters MU and SIGMA. m is a 1-by-2 vector that contains the row and column dimensions of R.

R = lognrnd(MU,SIGMA,m,n) generates lognormal random numbers with parameters MU and SIGMA. The scalars m and n are the row and column dimensions of R.

Example

Reference

Evans, M., N. Hastings, and B. Peacock, Statistical Distributions, Second Edition, John Wiley and Sons, 1993. p. 102-105.

See Also

random, logncdf, logninv, lognpdf, lognstat



[ Previous | Help Desk | Next ]