Given an unsigned integer x, convert it to binary with n bits, reverse the order of the bits, and convert it back to an integer.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1704
Suggested Problems
-
Project Euler: Problem 7, Nth prime
1781 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14461 Solvers
-
443 Solvers
-
843 Solvers
-
Find the max element of the array
2342 Solvers
More from this Author56
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!