How to perform floating point signed 2's complement with mantissa of 3 and exponent of 9 for - 7/8
4 次查看(过去 30 天)
显示 更早的评论
I used dec2bin with however it is fixed point representation. I am using Matlab 2019b
P = dec2bin((mod(num), 2^bits),bits)
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!