I need different seeds in simulink matlab functions
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
0 comentarios
Respuestas (0)
Ver también
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!