DEC2BIN converts non-negative decimal integers to a binary string. I want to create binary strings, with a leading sign bit, from any (negative or positive) integer.
MATLAB: How to convert a negative integer to a binary string, in other words, how can I find Two’s Complement in MATLAB
2binaryconvertdec2binintegerMATLABnegative
Best Answer