Does anybody know how to generate a random matrix with entries 0 and 1 only(binary matrix). Numbers of 1 and 0 are fixed every time matrix is generated.(adsbygoogle = window.adsbygoogle || []).push({});

Possibly a program in 'C'.

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Random Matrix

**Physics Forums | Science Articles, Homework Help, Discussion**