Pascal Wenger, I recommend that you employ "assessFunctionAbsence" — see
https://au.mathworks.com/help/coursework/ug/assessfunctionabsence.html — in your Test Suite to more robustly deal with tricks to sidestep intended solution.
Nice trick to sidestep intended solution!
1263 Solvers
Matrix indexing with two vectors of indices
485 Solvers
Create logical matrix with a specific row and column sums
170 Solvers
232 Solvers
393 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!