%% Convert Integer to Hexadecimal Representation
% Define a large integer 2^{60}-1 as a symbolic number.

d = sym(2)^60 - 1

% Convert the decimal number to hexadecimal representation.

str = dec2hex(d)

%
% Copyright 2019 The MathWorks, Inc.