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 Solvers1633
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1655 Solvers
-
544 Solvers
-
Flip the main diagonal of a matrix
910 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1266 Solvers
-
1121 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!