MATLAB Function Reference
  Go to function:
    Search    Help Desk 
bin2dec    Examples   See Also

Binary to decimal number conversion

Syntax

Description

bin2dec(binarystr) interprets the binary string binarystr and returns the equivalent decimal number.

Examples

bin2dec('010111') returns 23.

See Also

dec2bin



[ Previous | Help Desk | Next ]