%% Convert Decimal Number
% Convert a decimal number to a character vector that represents its binary value.

D = 23;
binStr = dec2bin(D)

% Copyright 2019 The MathWorks, Inc.