The test suite does not check that the solution is a character string, but the problem definition requires that it should.
Added this check. (I messed it up a bit the first time I tried to do it, so sorry for some interim weirdness.)
str = num2str(A,formatSpec), could replace '
Invalid solution, really
New test suite invalidates this solution.
Return the largest number that is adjacent to a zero
3823 Solvers
Arrange Vector in descending order
4490 Solvers
Back to basics 4 - Search Path
325 Solvers
469 Solvers
2970 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!