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!
2558 Solvers
Make a run-length companion vector
524 Solvers
554 Solvers
2716 Solvers
2365 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!