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 Solvers1621
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3680 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
584 Solvers
-
1066 Solvers
-
1801 Solvers
-
778 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!