Return the integer corresponding to the hexadecimal number represented by the string s.
For example:
hex2dec ("12B") ⇒ 299 hex2dec ("12b") ⇒ 299
If s is a string matrix, return a column vector with one converted number per row of s; Invalid rows evaluate to NaN.
If s is a cell array of strings, return a column vector with one converted number per cell element in s.
See also: dec2hex, base2dec, bin2dec.
Package: octave