Return the decimal number corresponding to the binary number stored in the string s. For example, bin2dec ("1110") 14 If s is a string matrix, returns a column vector of converted numbers, one per row of s. Invalid rows evaluate to NaN. See also: dec2hex base2dec dec2base hex2dec dec2bin
Return the decimal number corresponding to the binary number stored in the string s. For example,
bin2dec ("1110") 14
If s is a string matrix, returns a column vector of converted numbers, one per row of s. Invalid rows evaluate to NaN.