%% Represent Negative Numbers
% Starting in R2020a, the dec2bin function converts negative numbers using their two's complement binary values.
% For example, these calls to dec2bin convert negative numbers.

dec2bin(-1)
dec2bin(-16)

%
% Copyright 2019 The MathWorks, Inc.