Negitive number from a hex value
15 次查看(过去 30 天)
显示 更早的评论
If I go into the windows calculator and type in -69 in decimal and I convert that to hex I get FFFFFFBB. If I go into MatLab and I type int32(hex2dec('FFFFFFBB')) I get 2147483647. Is there any way that I can take a hex value and get the negative representation of the value, so I’d like FFFFFFBB in MatLab to give me -69. Thanks!
采纳的回答
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!