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

6 ビュー (過去 30 日間)
Pedro Paulino
Pedro Paulino 2019 年 7 月 3 日
回答済み: Samatha Aleti 2019 年 7 月 18 日
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.

回答 (1 件)

Samatha Aleti
Samatha Aleti 2019 年 7 月 18 日
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

カテゴリ

Help Center および File ExchangeSemiconductors and Converters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by