Hi,
I want to make 50 tables (matrices) with 150 numbers each. The numbers should be randomized either a 0 or 1.
I first thought i would create a 10 by 15 matrix:
- Generate a random number between 1 and 150. (for the amount of 1s in the table)
- Generate a random number between 1 and 10. (for the collumn)
- Generate a random number between 1 and 15. (for the row)
And then keep refreshing column and row numbers and enter the amount of 1s in the matrix.
As i do not want to make the 50 tables by hand. Does anyone know how to generate such tables?
Thanks in advance!
I want to make 50 tables (matrices) with 150 numbers each. The numbers should be randomized either a 0 or 1.
I first thought i would create a 10 by 15 matrix:
- Generate a random number between 1 and 150. (for the amount of 1s in the table)
- Generate a random number between 1 and 10. (for the collumn)
- Generate a random number between 1 and 15. (for the row)
And then keep refreshing column and row numbers and enter the amount of 1s in the matrix.
As i do not want to make the 50 tables by hand. Does anyone know how to generate such tables?
Thanks in advance!