dec2base
Description
returns a base-n representation of the decimal integer
baseStr
= dec2base(D
,n
)D
. The output argument baseStr
is a character
array that represents digits using numeric characters, and, when n
is
greater than 10, letters. For example, if n
is 12, the
dec2base
represents the numbers 9, 10, and 11 using the characters
9
, A
, and B
, and represents the
number 12 as the character sequence 10
.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2021b