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
27 Downloads
Updated 21 Mar 2020

View License

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 (2024). 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 Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0