(translator=pacific, ChineseSource=pacific-20020515-7.5\bin2dec.html, EnglishSource=c:\matlabr12\help\techdoc\ref\bin2dec.html)
MATLAB Function Reference    
bin2dec

將二進位數轉換成十進位數

Syntax

Description

bin2dec(binarystr) 將二進位字串binarystr轉成十進位數。

Examples

bin2dec('010111') 回傳 23。

See Also

dec2bin


 bicgstab bitand