from decimal to two's complement
Version 1.0.0.0 (350 Bytes) by
Moatasem Chehaiber
a function to convert a decimal number into 2's complement number of defined size
3.6K Downloads
Updated
18 Dec 2006
No License
The function coverts a decimal number into a two's compelement number of a given in argument number of bits.
Cite As
Moatasem Chehaiber (2026). from decimal to two's complement (https://www.mathworks.com/matlabcentral/fileexchange/13426-from-decimal-to-two-s-complement), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Wireless Communications in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Two's Complement
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
