Specify number of ones in each row and column in binary matrix
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
high speed
am 3 Apr. 2021
Kommentiert: high speed
am 3 Apr. 2021
I want create random binary matrix of dimensions 972x1944 that contain 3 ones in each column and 6 ones in each row.
How can I do that please
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!