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
Solve the set of simultaneous linear equations
274 Solvers
How long is the longest prime diagonal?
338 Solvers
Flag largest magnitude swings as they occur
582 Solvers
117 Solvers
Convert a Cell Array into an Array
430 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!