Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: how can generate random integer numbers?
Posted:
Nov 17, 2005 5:23 PM


emanuele wrote: > Hi all > how can generate random integer numbers? > Thanks in advantage Emanuele
Hi, You can use rand(uniform distribution) or randn(normal distribution) to make a series. Do something like rand * 10 or some number and round off. you can do a rounding off like if between 9 and 10 then 9 or something like that. you can do the tweaking with some good round operators.



