User`s guide
Random Source
5-360
The specified variance is equally divided between the real and imaginary
components, so that
Output Repeatability
The Repeatability parameter determines whether or not the block outputs the
same signal each time you run the simulation. You can set the parameter to one
of the following options:
•
Repeatable — The block outputs the same signal each time you run the
simulation. The first time you run the simulation, the block randomly selects
an initial seed. The block reuses these same initial seeds every time you
rerun the simulation.
•
Specify seed — The block outputs the same signal each time you run the
simulation. Every time you run the simulation, the block uses the initial
seed(s) specified by the
Initial seed parameter. Also see the next section,
“Specifying the Initial Seed”.
•
Not repeatable — The block does not output the same signal each time you
run the simulation. Every time you run the simulation, the block randomly
selects an initial seed.
Specifying the Initial Seed
When you set the Repeatability parameter to Specify seed, you must set the
Initial seed parameter. The Initial seed parameter specifies the initial seed
for the pseudorandom number generator. The generator produces an identical
sequence of pseudorandom numbers each time it is executed with a particular
initial seed.
For real outputs (
Output complexity parameter set to Real), a length-N seed
vector can be specified to set a distinct initial generator seed for each individual
channel. When a scalar seed is specified for a multichannel output, the block
uses the specified seed for the first channel, and increments the seed by 2 for
each additional channel. For example, specifying an
Initial seed value of 10 for
σ
Re
2
σ
2
2
------=
σ
Im
2
σ
2
2
------=