Main Content
oct
Octal representation of stored integer of fi
object
Syntax
Description
returns the
stored integer of b
= oct(a
)fi
object a
in octal 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
oct
returns the octal representation of the stored integer of a
fi
object. To obtain the base-n representation
of the real-world value of a fi
object, use dec2base
.
Examples
Input Arguments
Version History
Introduced before R2006a