Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 1468. Numbers at bit-boundary

Created by Muthu Annamalai

Find if a number is on or below the bit-boundary, as defined below.


7,9 straddle the bit-boundary at 2^3 as do 31,32 at 2^5; in these cases 7,8 are on bit boundary as are 31, and 32, but 5 and 33 do not qualify by definition.

Problem Group

Solution Statistics

24 correct solutions 15 incorrect solutions
Last solution submitted on Jul 14, 2015