Home > freetb4matlab > strings > dec2hex.m

dec2hex

PURPOSE ^

% Return the hexadecimal string corresponding to the non-negative

SYNOPSIS ^

function retval = dec2hex (n, len)

DESCRIPTION ^

% -*- texinfo -*-
% @deftypefn {Function File} {} dec2hex (@var{n}, @var{len})
% Return the hexadecimal string corresponding to the non-negative 
% integer @var{n}.  For example,
%
% @example
% @group
% dec2hex (2748)
%      @result{} 'ABC'
% @end group
% @end example
%
% If @var{n} is a vector, returns a string matrix, one row per value,
% padded with leading zeros to the width of the largest value.
%
% The optional second argument, @var{len}, specifies the minimum
% number of digits in the result.
% @seealso{hex2dec, dec2base, base2dec, bin2dec, dec2bin}
% @end deftypefn

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003