Main Content
binaryVectorToHex
Convert binary vector value to hexadecimal
Description
This function is part of Data Acquisition Toolbox™, and converts binary data represented by a vector of 1s and 0s. To convert
binary data from a string, character vector, or literal, you can use the MATLAB® functions bin2dec
and dec2hex
. See Hexadecimal and Binary Values.
converts the input binary vector to a hexadecimal.hexVal
= binaryVectorToHex(binaryVector
)
converts the input binary vector using the specified bit orientation.hexVal
= binaryVectorToHex(binaryVector
,bitOrder
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2012b