converting binary to decimal
Mostra commenti meno recenti
i have a value as S=-5
i converted it to binary by
Cw1=dec2bin(typecast(int16(S),'uint16'),15)
now how to convert again to -5
plz assist
Risposta accettata
Più risposte (1)
Walter Roberson
il 19 Gen 2013
typecast(bin2dec(Cw1), 'int16')
Categorie
Scopri di più su Data Type Conversion in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!