I need different seeds in simulink matlab functions

3 visualizaciones (últimos 30 días)
Mahdi Raoofat
Mahdi Raoofat el 9 de Nov. de 2016
To produce different random patterns in different simulations, I used rng('shuffle') in my simulink "matlab function" block. While it changes the seed, the results of rand are repetitive. Why? and how can I get different random patterns?
I have Matlab R2016b
Thank you very much

Respuestas (0)

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by