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 2046. Convert binary numbers to hexadecimal numbers

Created by Crapoo Crapoo

Function must convert the input vector x composed of 0 and 1 (length is a multiple of 8) in hexadecimal. Most significant bit is first. each pair of hexadecimal symbols must be separated by space.

Example: [1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 1] will return 'F0 E1'

Problem Group

Solution Statistics

13 correct solutions 24 incorrect solutions
Last solution submitted on Jul 08, 2015

Problem Comments