Signed decimal vector to hexadecimal

6 次查看(过去 30 天)
Nourhan
Nourhan 2014-5-21
评论: dpb 2014-5-21
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by