converting binary to decimal
古いコメントを表示
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
採用された回答
その他の回答 (1 件)
Walter Roberson
2013 年 1 月 19 日
typecast(bin2dec(Cw1), 'int16')
カテゴリ
ヘルプ センター および File Exchange で Data Type Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!