Main Content
mvl2dec
Convert multivalued logic to decimal
Description
converts a multivalued logic to a positive decimal integer.D
= mvl2dec(mv_logic_char
)
Note
If mv_logic_char
contains any character other than
'0'
or '1'
, the output returned is
NaN
.
converts a signed multivalued logic to a positive or negative decimal integer.D
= mvl2dec(mv_logic_char
,signed
)
Examples
Input Arguments
Version History
Introduced in R2008a