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!
Make the vector [1 2 3 4 5 6 7 8 9 10]
35733 Solvers
Find relatively common elements in matrix rows
865 Solvers
190 Solvers
Removing rows from a matrix is easy - but what about inserting rows?
127 Solvers
113 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!