convert from binary to decimal
y=bin2dec(str)
a matrix of strings containing only characters '1' and '0'
a matrix of doubles, positive integer values
Given str
a binary string, this function returns
y
the decimal number whose the binary representation is
given by str
( y
and
str
have the same size).