What seed is used to generate the RBS when using idinput?

3 views (last 30 days)
I am working in Simulink and using the random number block to generate a disturbance for a particular process (jacketed stirred tank water heater). At the same time I am using idinput to generate a random binary input signal and importing that signal into Simulink for system identification. For open loop identification, I want this input to be uncorrelated with the disturbance. Within the random number block, I can specify the seed. I would like to specify the seed used in idinput to ensure the input is uncorrelated with the disturbance or at least know what that seed is so I can select a different seed for my disturbance. Any help would be appreciated.

Answers (1)

Kacper Grzedzinski
Kacper Grzedzinski on 22 May 2019
MATLAB uses its rng() function to control the seeds of random numbers generated within your workspace.

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!