base2dec
- :
d =base2dec(s, base)¶ Convert text holding numbers in base to double values.
s is a character matrix (one number per row) or a cell array of character vectors. base is an integer from 2 to 36, or a string of distinct symbols whose positions give the digit values. Spaces are ignored; any element containing another invalid character is an error for a numeric base (NaN for a symbol list). The result is a column vector.