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 Solvers1423
Suggested Problems
-
Find state names that start with the letter N
1231 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3168 Solvers
-
First non-zero element in each column
858 Solvers
-
Sum of diagonal of a square matrix
1575 Solvers
-
Natural numbers in string form
1425 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!