RandIntegers 1.0

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Aug 27, 2007
Size downloadDownloads : 3
Program licensing
Thank you for voting...

RANDINTEGERS(LOWER_BOUND,UPPER_BOUND) is a one line ...

randintegers by Amit Belani(LOWER_BOUND, UPPER_BOUND) is a one line function that uses RAND to return a random integer between and inclusive of the two specified integers LOWER_BOUND and UPPER_BOUND (with uniform probability) (and with replacement).
The third argument M_SIZE is optional. If specified as a scalar, the output is a matrix with size [m_size m_size] and containing the values stated above. If specified as a row vector, the output is an array with size [m_size] and containing the same.
Examples:
randinteger(11, 25) may return 23 or 25 or 11
randinteger(11, 25, 2) may return [25 12; 15 24]
randinteger(11, 25, [1 3]) may return [14 23 17]
Remarks:
As depicted in the help text within the function, the Communications and Statistics toolboxes each contain a function that can be used for the same purpose.
Demands:
matlab Release: R14SP3

RandIntegers 1.0 scripting tags: randintegers, msize, integers mathematics, output, random, function, random integers, return, matlab, matlab mathematics. What is new in RandIntegers 1.0 software script? - Unable to find RandIntegers 1.0 news. What is improvements are expecting? Newly-made RandIntegers 1.1 will be downloaded from here. You may download directly. Please write the reviews of the RandIntegers. License limitations are unspecified.