| Fixed-Point Toolbox™ | ![]() |
Stored integer value of fi object as built-in uint8
uint8(a)
Fixed-point numbers can be represented as
![]()
or, equivalently,
![]()
The stored integer is the raw binary number, in which the binary point is assumed to be at the far right of the word.
uint8(a) returns the stored integer value of fi object a as a built-in uint8. If the stored integer word length is too big for a uint8, or if the stored integer is signed, the returned value saturates to a uint8.
int, int8, int16, int32, uint16, uint32
![]() | triu | uint16 | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |