Mathematics > Random Number Generation
10 functions in MATLAB › Mathematics > Random Number Generation.
randi | Random integers drawn uniformly from a range. |
randn | Normally distributed random numbers with mean 0 and variance 1. |
randperm | Random permutation of the integers 1 to n. |
RandStream | Object that holds an independent random number stream. |
RandStream.create | Creates a random number stream with a named generator. |
RandStream.getGlobalStream | Returns the stream used by rand, randn, randi and randperm. |
RandStream.list | Lists the random number generator algorithms available. |
RandStream.setGlobalStream | Makes a given stream the global random stream. |
reset (RandStream) | Returns a random stream to its initial state, or to a new seed. |
rng | Controls the seed and generator of the global random number stream. |