Converts a hexadecimal number or a vector of hexadecimal numbers represented by a string to decimal numbers.
c = hex_to_dec(a)Legacy name: hex2dec
Hexadecimal number or vector of hexadecimal numbers. Valid hexadecimal characters are: 0-9, a, b, c, d, e, f. You also can use the following characters: 0-9, A, B, C, D, E and F. a is a string.
Decimal number or column vector of decimal numbers equivalent to a. c is an integer or a vector of integers.
A = '10aaf'; C = hex_to_dec(A)
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices