hi,
I use the built-in random number generator with the command,
[::math::random 1 101] which gives a number between, and including, 1 and 100. Now, I want to get the random number in this range in such a way that the probability of getting 1 is more than the probability of getting a 100.
The bigger the number in the range the lesser the probability it shud be. so is there a way to use some kind of distributions along side the random number generator to get the desired result??
thnx,
Raj.
I use the built-in random number generator with the command,
[::math::random 1 101] which gives a number between, and including, 1 and 100. Now, I want to get the random number in this range in such a way that the probability of getting 1 is more than the probability of getting a 100.
The bigger the number in the range the lesser the probability it shud be. so is there a way to use some kind of distributions along side the random number generator to get the desired result??
thnx,
Raj.