Cody

Problem 2046. Convert binary numbers to hexadecimal numbers

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'

Solution Stats

32.65% Correct | 67.35% Incorrect
Last solution submitted on Feb 25, 2019

Problem Comments