%% Represent Array of Floating-Point Numbers
% Create a numeric array.

X = [3.1416 1.37e-5 1023.92];

%
% Convert the elements of X. The num2hex function returns a character array that represents these values.

hexStr = num2hex(X)

% Copyright 2019 The MathWorks, Inc.