%% Convert Decimal Number
% Convert a decimal number to a character vector that represents its value in base 12. In this base system, the characters 'A' and 'B' represent the numbers denoted as 10 and 11 in base 10.

D = 23;
baseStr = dec2base(D,12)

% Copyright 2019 The MathWorks, Inc.