how to convert a binary string of length more than 52 bits to decimal number.
6 次查看(过去 30 天)
显示 更早的评论
I have a binary string of 8000 bits which has to be converted to decimal.
0 个评论
回答(1 个)
BhaTTa
2024-10-25,7:02
Hey @madhavee latha, to convert a binary string of bits into a decimal number in MATLAB, you can use the bin2dec function. However, bin2dec has a limitation on the length of the binary string it can handle "A binary number represented by binStr can have no more than 53 digits."
Please refer to below documentation:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Conversion 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!