Section: Elementary Functions
y = hex2dec(x)
where x is a character matrix where each row represents an integer
in hexadecimal form.  The output is of type Double.
--> hex2dec('3ff')
ans = 
 1023 
Or for a more complex example
--> hex2dec(['0ff';'2de';'123']) ans = 255 734 291