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

Skip to content# MATLAB: Converting binary to decimal

bin2dec

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

## Best Answer