How to convert 192 bit string to integer in matlab?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
jalashree trivedi
am 26 Mai 2018
Beantwortet: Ameer Hamza
am 26 Mai 2018
I have a 192 bit binary string stored in a variable as bvar=01001101010000010101000001010000010010010100111001000111001000000100000101001110010001000010000001010010010001010101011001000101010100100101001101000101001000000100110101000001010100000000
i want it to convert into an integer as : 1894290318373708250692331360974342813437992324945519136768
how is it possible in matlab? pls help. thank you.
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 26 Mai 2018
bvar='01001101010000010101000001010000010010010100111001000111001000000100000101001110010001000010000001010010010001010101011001000101010100100101001101000101001000000100110101000001010100000000'
decValue = bin2vpi(binaryNumber)
decValue =
118393144898356765668270710060896425839874520309094946048
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Downloads finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!