Simple Hexadecimal to Binary Conversion Function
Updated 27 Oct 2016

View License

A very simple function which uses hex2dec and dec2bin to perform a hexadecimal to binary conversion.

Cite As

LauraLee Austin (2024). hex2bin(x,n) (https://www.mathworks.com/matlabcentral/fileexchange/59979-hex2bin-x-n), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Data Type Conversion in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes