I would like to generate a series of pseudo-random integers, but all the random-number generation algorithms in MATLAB either generate floating-point numbers, or threshold floating-point numbers to create integers. Is there a way to create these integers directly?
MATLAB: Is there a way to generate pseudo-random integers directly in MATLAB 7.6 (R2008a)
MATLAB
Related Question
- Does the random number generator in MATLAB fail a particular test of randomness
- Pseudo-random number generator rand() in .mex
- How to use the Mersenne “Twister” algorithm to generate random numbers form the Uniform Random Number Block in Simulink
- Pseudo-random distribution of points with minimum distance
- Am I unable to reproduce the random numbers generated by the GAMRND function in the Statistics Toolbox
- There is a mismatch in nrPRBS and the custom made pseudo-random sequence generator function
- Find a command that will generate a pseudo-random number(random number) that lies bwtween -1 and 1 drawn from uniform distribution
Best Answer