Convert Decimal Numbers to Binary

This function converts a matrix containing decimal values into their binary representation. That is it converts MxN matrix into Mx8N matrix

https://github.com/Sridhar-S-G/MATLAB_Functions/blob/master/convertPixelValueToBinary.m

You are now following this Submission

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://au.mathworks.com/matlabcentral/fileexchange/74636-convert-decimal-numbers-to-binary), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0