Myrandint
Returns a matrix of random elements drawn uniformly from within a specified set. Sampling can be done with or without replacement. (This function was intended to fill the role of RANDINT in the Comm Toolbox, which I no longer possess. No claims are made for correctness or efficiency.)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): MYRANDINT -- Random Integer Generation Download |
RAND_INT(R,N) returns an n-by-n matrix containing pseudo-random integer values from range R.Function that uses RAND to generate random integers in the specified linear range, as follows:result = floor(a + (b-a+1).* rand(N)),where specified range is [a b]-----Please note: There are lots of ways to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Generate uniform pseudo-random integers from linear range Download |