You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
example:
int2bin([2; 5; 15]) = [0 0 1 0;0 1 0 1;1 1 1 1]
or
bin2int([ 0 1 1; 2 2 2], 3) = [4; 26] (in a three digit system)
Cite As
Thomas (2026). convert integer to binary or binary to integer (https://au.mathworks.com/matlabcentral/fileexchange/85473-convert-integer-to-binary-or-binary-to-integer), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (1.58 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
