base2dec
Convert string representation of integers in a given base to decimal integers.
y=base2dec(s,base)
Inputs
s An array of strings, each element of which is a representation of an integer in the base specified in the second argument.
base The base of the string representation of numbers in the first input.
Outputs
y An array of the same size as the first input. Each element of the output is the decimal integer representing the corresponding element of the first input.


Example
base2dec({"1001","1011"},2) returns the array [9,11] .