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
868 Solvers
Find nearest prime number less than input number
274 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3904 Solvers
251 Solvers
541 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!