The following Matlab project contains the source code and Matlab examples used for creates a lognormal distribution with desired mode (peak-value) . .
lognormal: creates lognormal distribution with desired mode (peak-value)
usage: lognormal(mode_log,sigma_n,n,plotit)
--- INPUT arguments:
'mode_log' ---> can be any positive value (is the most frequent value of the lognormal distribution -> the peak in the histogram)
'sigma_n' ---> standard deviation of the corresponding normal distribution
--> CAUTION: it is not the standard deviation of the lognormal distribution, because it is a somewhat unuseful value for an asymmetric distribution
'n' ---> number of n-values the distribution should have
'plotit' ---> plot switch (0=no,1=yes)
How it works:
1.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

## Project Files:

File Name | Size |
---|---|

license.txt | 1307 |

lognormal.m | 4947 |