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
-
Find the numeric mean of the prime numbers in a matrix.
9023 Solvers
-
1290 Solvers
-
Set the array elements whose value is 13 to 0
1385 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1932 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
384 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!