Clear Filters
Clear Filters

Create a script to convert HEX line from DEC line number (and reverse)

1 view (last 30 days)
Hello guys,
I would like to know if you can give me some help in making a script file that will convert a decimal number into an HEX line. For example I would like that script to give me 02B0 if I input 44.
Cheers!

Answers (1)

Walter Roberson
Walter Roberson on 22 Oct 2015
dec2hex()

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!