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

Post Reply
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post by matlab1 »

GENTYPE must be a string containing the name of a generator algorithm
matlab1
Site Admin
Posts: 4797
Joined: Thu Dec 15, 2016 9:30 am
Contact:

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

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests