<< dec2oct Radix conversions oct2dec >>

Scilab Help >> Elementary Functions > Radix conversions > hex2dec

hex2dec

convert from hexadecimal to decimal

Syntax

d=hex2dec(h)

Arguments

h

matrix of strings corresponding to hexadecimal representation

d

matrix of doubles, positive integer values

Description

hex2dec(x) returns the matrix of numbers corresponding to the hexadecimal representation.

Examples

hex2dec(['ABC','0','A'])

See also


Report an issue
<< dec2oct Radix conversions oct2dec >>