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.
4108 Solvers
377 Solvers
485 Solvers
Find the index of n in magic(n)
160 Solvers
Find the area of the four walls
203 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!