Convert array of decimal numbers into hexadecimal numbers array. - MATLAB Cody - MATLAB Central

Problem 43603. Convert array of decimal numbers into hexadecimal numbers array.

Difficulty:Rate

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

71.58% Correct | 28.42% Incorrect
Last Solution submitted on Jul 08, 2025

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers66

Suggested Problems

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!