Any clue? Does this problem require great mathematics abilities ?
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?
test suite does not have function 'intlinprog' in directory? otherwise works for all case on my matlab
my code works on my matlab, why doesn't it pass the test suite?
I never knew about gallery. Thanks!
could you please let me know which one of the Gallery matrixes have you used?
@Payam Morsali
its the circulant matrix
All your base are belong to us
465 Solvers
989 Solvers
Back to basics - mean of corner elements of a matrix
305 Solvers
Find my daddy long leg (No 's')
728 Solvers
668 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!