how to convert a binary string of length more than 52 bits to decimal number.

조회 수: 4 (최근 30일)
madhavee latha
madhavee latha 2017년 9월 27일
답변: BhaTTa 2024년 10월 25일
I have a binary string of 8000 bits which has to be converted to decimal.

답변 (1개)

BhaTTa
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:

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by