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 Solvers1395
Suggested Problems
-
Number of 1s in the Binary Representation of a Number
442 Solvers
-
Sum of diagonal of a square matrix
1563 Solvers
-
Change the sign of even index entries of the reversed vector
524 Solvers
-
Replace Nonzero Numbers with 1
374 Solvers
-
Return fibonacci sequence do not use loop and condition
528 Solvers
More from this Author55
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!