Problem 108. Given an unsigned integer x, find the largest y by rearranging the bits in x
Solution Stats
Problem Comments
-
2 Comments
de2bi doesn't work either
de2bi is a toolbox function. Cody does not currently support toolbox functions.
Solution Comments
-
2 Comments
DecimalToBinaryVector is regarded as undefined function ???
That's right, because there is no such thing. These are named something else.
-
1 Comment
how to improve this size to 10?
-
2 Comments
Problem Recent Solvers1198
Suggested Problems
-
3452 Solvers
-
406 Solvers
-
311 Solvers
-
8694 Solvers
-
373 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!