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 Solvers1676
Suggested Problems
-
Program an exclusive OR operation with logical operators
751 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
560 Solvers
-
Return unique values without sorting
1011 Solvers
-
642 Solvers
-
10950 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!