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 Solvers1686
Suggested Problems
-
Renaming a field in a structure array
1581 Solvers
-
Given two arrays, find the maximum overlap
1801 Solvers
-
Project Euler: Problem 7, Nth prime
1776 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
2121 Solvers
-
1741 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!