Signed decimal vector to hexadecimal

6 views (last 30 days)
Nourhan
Nourhan on 21 May 2014
Commented: dpb on 21 May 2014
Hello everyone,
How can I convert signed decimal values into hex? All the functions in Matlab are for unsigned decimal values. I tried to convert the decimal values into 2s complement and then into hex but the values were not the correct.
Anyone could help?

Answers (0)

Categories

Find more on Data Type Conversion in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!