Number generator from a power law distribution, given a mean, alpha and x range

7 views (last 30 days)
Hi all,
I need to generate 300 numbers from a power law distribution with alpha 2.3 and mean 47, with lower bound 10, for a monte carlo simulation. I'd really appreciate any insights about how to do it.

Answers (1)

Samatha Aleti
Samatha Aleti on 18 Jul 2019
Hi,
You can generate random numbers from power law distribution using the RANDRAW function which is in MATLAB File Exchange. Use ‘pareto’ (means power-law distribution) as distribution name. Here is the link to download and use the 'RANDRAW' Function

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!