Page 1 of 1

Assignment to a RandStream using () indexing is not allowed

Posted: Sat Jun 17, 2017 6:52 am
by matlab1
Assignment to a RandStream using () indexing is not allowed

Re: Assignment to a RandStream using () indexing is not allowed

Posted: Sun Jan 10, 2021 12:36 pm
by matlab1
RandStream creates a random number stream using a specified pseudorandom number generator algorithm.

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

You can not use indexing with () in this function.