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
9970 Solvers
Which values occur exactly three times?
3835 Solvers
406 Solvers
404 Solvers
Relative ratio of "1" in binary number
409 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!