Hi Petr:
Keep in mind that your test suite isn't hidden in Cody. For that reason, Cody isn't the best place to ask questions that have a single correct answer (i.e. the answer doesn't change depending on novel inputs).
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
Back to basics 8 - Matrix Diagonals
786 Solvers
Vectorize the digits of an Integer
272 Solvers
493 Solvers
Determine the length of a string of characters
175 Solvers
171 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!