呼び出し手順
y=bin2dec(str)
引数
- str
文字 '1' および '0'のみを含む文字列の行列
- y
double行列,正の整数値
説明
2進文字列str
を指定すると, この関数は,
その2進表現がstr
となるような
10進数 y
を返します.
( y
と
str
の大きさは同じになります).
例
参照
Report an issue | ||
<< base2dec | Integer representation | dec2base >> |