FUNCTION REFERENCE
dec2base
Decimal to text in any base.
Decimal to text in any base.
Syntax
s = dec2base(d, base)Syntax
s = dec2base(d, base, len)base must be an integer from 2 to 36; a symbol string is not accepted.
Example
dec2base(10, 3) % '101'Inputs are nonnegative integers up to and including 2^53.
Differences from MATLAB: Output is limited to 65536 UTF-16 units.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.