Real Value Conversion to Binary with Range
显示 更早的评论
Again, i write on the same topic. Sorry for that.
Within the range values (e.g. [0,25]) how can i convert my real numbers to binary digits. The number of bits must be 15..
Thanks
采纳的回答
更多回答(1 个)
b
2012-5-11
0 个投票
1 个评论
Walter Roberson
2012-5-11
Let B be the binary digits. Then
bin2dec(char(B + '0')) ./ 2^10
类别
在 帮助中心 和 File Exchange 中查找有关 Numeric Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!