MATLAB Functions Help Desk

bin2dec

Purpose

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 ]