Contents Previous Next Subchapters

Seeding Pseudo Random Number Generation
Syntax seed(s1)
See Also ranseed , unirnd , normrnd , randperm

Description
Sets the point at which the pseudo-random sequence starts, where the seed value s1 is an integer scalars between 1 and 168.

Example
     seed(12)
     rand(3, 1)
returns
     {
     5.58794e-009
     0.32828
     0.618638
     }

Mlmode
In Mlmode , the arguments can be are logical, real, double-precision or complex. In this case, the corresponding integer values are used.