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 CenterFile Exchange에서 Random Number Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by