how to convert a binary string of length more than 52 bits to decimal number.
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a binary string of 8000 bits which has to be converted to decimal.
댓글 수: 0
답변 (1개)
BhaTTa
2024년 10월 25일
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!