Problem 43603. Convert array of decimal numbers into hexadecimal numbers array.
Convert array of decimal numbers into hexadecimal numbers array.
Example
x =[ 32 33 34 35 36 37 38 39 40 41 42 43 44 45]
res= ['20' ;'21' ;'22'; '23' ;'24' ;'25' ;'26' ;'27' ;'28'; '29' ;'2A'; '2B' ;'2C'; '2D'];
Solution Stats
Problem Comments
-
2 Comments
Olha Remesh
on 23 Oct 2016
cool
Matthew
on 8 Jul 2025
I wish people actually tried to solve the problems without using built in functions that "solve" the problem in 1 line. There's nothing to compare to to see how I could improve my code.
Solution Comments
Show commentsProblem Recent Solvers66
Suggested Problems
-
Find common elements in matrix rows
2688 Solvers
-
15674 Solvers
-
Back to basics 8 - Matrix Diagonals
947 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1209 Solvers
-
Replace odd number in given matrix by zero
147 Solvers
More from this Author37
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!