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
Solution Comments
Show comments
Loading...
Problem Recent Solvers68
Suggested Problems
-
Extract leading non-zero digit
2245 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3064 Solvers
-
Generate N equally spaced intervals between -L and L
943 Solvers
-
Matlab Basics II - Create a vector with a repeated entry
252 Solvers
-
Create sequnce 1 4 9 16 25.........
414 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!
cool
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.