I suggest adding additional test cases to make the problem stronger.
19709 Solvers
Sum of diagonal of a square matrix
1340 Solvers
Duplicate each element of a vector.
523 Solvers
Cell Counting: How Many Draws?
640 Solvers
178 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!