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 3, Largest prime factor
1791 Solvers
-
Set some matrix elements to zero
626 Solvers
-
Permute diagonal and antidiagonal
505 Solvers
-
Reverse the elements of an array
1115 Solvers
-
Side of an equilateral triangle
6884 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!