[Scilab-users] Generate 5 unique random integer number between 1 and 10

tanthiamhuat tanthiamhuat at yahoo.com
Wed Jun 11 05:34:08 CEST 2014


how do I generate 5 UNIQUE, DISTINCT random integer between 1 and 10?

I try this, but it is not unique.

Random_5=round(rand(1,5)*9)+1



--
View this message in context: http://mailinglists.scilab.org/Generate-5-unique-random-integer-number-between-1-and-10-tp4030712.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list