I need different seeds in simulink matlab functions

3 ビュー (過去 30 日間)
Mahdi Raoofat
Mahdi Raoofat 2016 年 11 月 9 日
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 件)

カテゴリ

Help Center および File ExchangeRandom Number Generation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by