%% Convert Text Representing Base-12 Value
% Convert a character vector that represents a base-12 value to a decimal number.

baseStr = '1B';
D = base2dec(baseStr,12)

% Copyright 2019 The MathWorks, Inc.