Problem 885. Create logical matrix with a specific row and column sums
Solution Stats
Problem Comments
-
2 Comments
Clément E.
on 30 May 2018
Any clue? Does this problem require great mathematics abilities ?
Rafael S.T. Vieira
on 23 Jul 2020
Not really, imagine in the simplest case that we could use the diagonals (ignoring this constraint), what the solution would look like? A chessboard pattern would solve it, wouldn't it? Now, how can we work around the constraint?
Solution Comments
Show commentsProblem Recent Solvers290
Suggested Problems
-
6892 Solvers
-
Renaming a field in a structure array
1319 Solvers
-
236 Solvers
-
Area of an equilateral triangle
5193 Solvers
-
430 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!