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
Back to basics 16 - byte order
173 Solvers
625 Solvers
387 Solvers
2466 Solvers
1195 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!