%% Return Numeric Array
% Create a string array that represents multiple hexadecimal values.

hexStr = ["3FF" "7A" "E"]

%
% Convert the hexadecimal values and return a numeric array.

D = hex2dec(hexStr)

%
% Starting in R2019b, it is recommended that you create a numeric array using hexadecimal literals instead of converting text with hex2dec.

D = [0x3FF 0x7A 0xE]

% Copyright 2019 The MathWorks, Inc.