Main Content
dec2bin
Description
returns the binary, or base-2, representation of the decimal integer binStr
= dec2bin(D
)D
.
The output argument binStr
is a character vector that represents binary
digits using the characters 0
and 1
.
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2021b