Problem 1295. Bit Reversal
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 commentsProblem Recent Solvers1513
Suggested Problems
-
9000 Solvers
-
Calculate the area of a triangle between three points
3228 Solvers
-
356 Solvers
-
Sum of odd numbers in a matrix
594 Solvers
-
Replace Nonzero Numbers with 1
411 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!