Two's Complement
Version 1.0.0.0 (767 Bytes) by
Chad Webb
Compute the two's complement value of an unsigned integer
3K Downloads
Updated
7 May 2007
No License
This is a very simple utility that computes the two's complement value from an unsigned integer input. The number of bits of the input integer must also be specified
Cite As
Chad Webb (2024). Two's Complement (https://www.mathworks.com/matlabcentral/fileexchange/14900-two-s-complement), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Audio and Video Data >
Find more on Audio and Video Data in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Two's Complement for MATLAB, from decimal to two's complement
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |