How to convert a negative decimal to binary using the two's complement coding method
Show older comments
Is there a function to do this in MATLAB?
Answers (1)
dec2bin(-1)
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!