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.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more