Main Content
bin
Unsigned binary representation of stored integer of fi
object
Syntax
Description
returns the
stored integer of b
= bin(a
)fi
object a
in unsigned binary
format as a character vector.
Fixed-point numbers can be represented as
or, equivalently as
The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.
Tip
bin
returns the unsigned binary representation of the stored
integer of a fi
object. To obtain the binary representation of the
real-world value of a fi
object, use dec2bin
.
Examples
Input Arguments
Version History
Introduced before R2006a