the last test case fails due to an incorrect call of the function. also, could you stick %% between each of the test cases so that they show up as separate?
Lookup cheat
388 Solvers
Back to basics 9 - Indexed References
396 Solvers
Check if number exists in vector
4688 Solvers
Without the French accent please!
109 Solvers
186 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!