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
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers46
Suggested Problems
-
30019 Solvers
-
Maximum running product for a string of numbers
2253 Solvers
-
498 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
645 Solvers
-
Create an index-powered vector
933 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Test 4, length(x) isn't a multiple of 8.
The input is an array in Tests 1-3 and a character string in Test 4.
bad problem.