Hi,
This is my first forum post. When using the Rand function, it gives an even distribution between the two numbers 0 and 1. I would like to find out how I can control the distribution ratio of 1's to 0's. I do not want it to be an even (~50%) split between the two numbers.
For example, I would like to be able to set it to 75% of the random mix is 1's while 25% is 0's,
Or 60% of 1's and 40% of 0's, etc.....
I am using the following to create a 10 column grid of random 1's and 0's. However, I don't want a ~50% mix. How can I set my own adjustable distribution?
Thank you very much for any help you can provide.
Bookmarks