Cody

Problem 43602. Convert array of decimal numbers into binary numbers array.

Created by Andriy Kavetsky in Community

Convert an array of decimal numbers into binary numbers array.

For example:

 x = [1 2 3 4 5 6 7 8];
 result = [1; 10; 11; 100; 101; 110; 111; 1000];

Solution Stats

57.14% Correct | 42.86% Incorrect
Last solution submitted on Feb 25, 2019

Problem Comments