Function Reference
— Function File: dec2base (n, b, len)

Return a string of symbols in base b corresponding to the nonnegative integer n.

          dec2base (123, 3)
                "11120"

If n is a vector, return a string matrix with one row per value, padded with leading zeros to the width of the largest value.

If b is a string then the characters of b are used as the symbols for the digits of n. Space (' ') may not be used as a symbol.

          dec2base (123, "aei")
                "eeeia"

The optional third argument, len, specifies the minimum number of digits in the result.