Good problem. You should generalise it with more tests (size of the matrix, different gap...).
I suspect that my solution isn't correct.
This doesn't work..Good for cody!!
Convert a numerical matrix into a cell array of strings
472 Solvers
Create logical matrix with a specific row and column sums
177 Solvers
The Answer to Life, the Universe, and Everything
387 Solvers
Number of digits in an integer
340 Solvers
2492 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!