Generate a random number with a distribution in Simulink

12 Ansichten (letzte 30 Tage)
Beatriz Gonçalves
Beatriz Gonçalves am 6 Jul. 2017
Beantwortet: Gareth Thomas am 22 Jul. 2017
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??

Antworten (1)

Gareth Thomas
Gareth Thomas am 22 Jul. 2017
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

Community Treasure Hunt

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

Start Hunting!

Translated by