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 Solvers1193
Suggested Problems
-
2684 Solvers
-
206 Solvers
-
Switch matrix to a column vector
297 Solvers
-
Create a two dimensional zero matrix
409 Solvers
-
Check that number is whole number
2280 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!