There are some problems with the test suite. Problems 3 and 5 have too many square brackets on the right, and Problem 4 uses a matrix that exceeds the preferred matrix dimensions.
I find the exact same problem with the test suite.
Please correct the test suite. I believe that I have submitted a correct solution
The test suite has been corrected.
Cody,please check the test file
Test 3 and 5 - invalid square brackets
Test 4 - array is too big, L = 1000; W = 119; would work the same way
272 Solvers
Sum of diagonal of a square matrix
1327 Solvers
Justify the character string in center with proportional fonts
57 Solvers
Return a list sorted by number of consecutive occurrences
173 Solvers
205 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!