Convert Decimal Numbers to Binary
Version 1.0.0 (1.11 KB) by
Sridhar SG
This function converts a matrix containing decimal values into their binary representation. That is it converts MxN matrix into Mx8N matrix
This function can be used to convert the decimal value of a matrix to their corresponding representation in binary form. If you are applying this function for RGB image first split the bands into R, B and G band then apply this function to each band separately.
Cite As
Sridhar SG (2026). Convert Decimal Numbers to Binary (https://www.mathworks.com/matlabcentral/fileexchange/74636-convert-decimal-numbers-to-binary), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
