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!