"cat" is a really nice touch for concatenation of those arrays! your solutions never fail my expectation.
by the way, i saw that "sub-func" comment...:)
Calling the two sub-functions the right way will not hurt your score. Great work though. :)
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
1143 Solvers
Change the sign of even index entries of the reversed vector
296 Solvers
Count decimal digits of a number
176 Solvers
Capitilize the first letter of every word in a string
106 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!