%% Create and Use Stream
% Create a random number stream using the SIMD-Oriented Fast Mersenne Twister.

s = RandStream('dsfmt19937')

% Use the stream to generate five random numbers.

rand(s,1,5)

%
% Copyright 2020 The MathWorks, Inc.