Problem 4. Make a checkerboard matrix
Solution Stats
Problem Comments
-
38 Comments
Fun problem with different solutions!
Nice problem, but tests 6 and 8 seem to make no sense. They use same input to the function, but expects different output, thus making it impossible to solve it.
Can someone please confirm?
@Adam, that test case was left incomplete, as there was some problem on my end as I was updating the problem.
I have now edited the test suite and have re-scored your solution as well.
Solution Comments
Show commentsProblem Recent Solvers15901
Suggested Problems
-
1024 Solvers
-
Back to basics 12 - Input Arguments
604 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
613 Solvers
-
Number of Even Elements in Fibonacci Sequence
1431 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
942 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!