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
657 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
2102 Solvers
Convert given decimal number to binary number.
640 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!