Why don't you provide the counting system inside the function? What's the point of retyping it from wiki?
Funny that 2017a-style double quotations significantly shorter the size as compared to the 2016b-style string() function alternative :)
didnt see that Cody changed the test suite of this problem and I lost one important badge. such a shame..
not good
17563 Solvers
Sum of diagonal of a square matrix
1333 Solvers
426 Solvers
366 Solvers
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
777 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!