Generate a random number with a distribution in Simulink

1 回表示 (過去 30 日間)
Beatriz Gonçalves
Beatriz Gonçalves 2017 年 7 月 6 日
回答済み: Gareth Thomas 2017 年 7 月 22 日
How can I generate a random number with a distribution? I mean, I have a .mat file that characterize my distribution and I want to generate random numbers (maybe with random(distribution)) in Simulink. How is it possible??

回答 (1 件)

Gareth Thomas
Gareth Thomas 2017 年 7 月 22 日
There is a random source block in Simulink, is this what you are looking for?
https://www.mathworks.com/help/releases/R2016b/simulink/slref/randomnumber.html

カテゴリ

Help Center および File ExchangeSources についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by