Page 1 of 1

GENTYPE must be a string containing the name of a generator algorithm

Posted: Sat Jun 17, 2017 6:27 am
by matlab1
GENTYPE must be a string containing the name of a generator algorithm

Re: GENTYPE must be a string containing the name of a generator algorithm

Posted: Mon Jan 11, 2021 5:10 am
by matlab1
RandStream

Random number stream

Description

RandStream creates a random number stream using a specified pseudorandom number generator algorithm.



Input Arguments


gentype — Random number generator algorithm

'mt19937ar' | 'dsfmt19937' | 'mcg16807' | ...

Random number generator algorithm, specified as a character vector or string scalar naming a random number generator. MATLAB offers several generator algorithms. The following table summarizes the names and key properties of the available generator algorithms. Some generator algorithms support multiple streams and substreams to create sets of random numbers that are mutually independent.



for more information

https://www.mathworks.com/help/matlab/ref/randstream.html