how to make lognormal distribution with random numbers?
2 views (last 30 days)
Show older comments
I want lognormal distribution for number ranging from 0.1 to 30? It is possible to make?
1 Comment
Answers (1)
Walter Roberson
on 12 Jul 2017
First create a probability distribution object with distribution 'lognormal'; https://www.mathworks.com/help/stats/makedist.html#inputarg_distname . Then truncate the distribution; https://www.mathworks.com/help/stats/prob.truncatabledistribution.truncate.html
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!