dec2base
- :
s =dec2base(d, base)¶ - :
s =dec2base(d, base, len)¶ Convert nonnegative integers to text in another base.
base is an integer from 2 to 36 (digits ‘0’-‘9’ then upper case letters) or a string of distinct non-blank symbols. The result has one row per element of d (column-major order), padded on the left with the zero symbol to a common width of at least len digits.