Fixed-Point Data Representation and Arithmetic

Fixed-point numbers, scale, cast, precision, arithmetic operations

Functions

fi Construct fixed-point numeric object
ufi Construct unsigned fixed-point numeric object
sfi Construct signed fixed-point numeric object
fimath Set fixed-point math settings
fipref Set fixed-point preferences
numerictype Construct numerictype object
accumpos Add two fi objects or values
accumneg Subtract two fi objects or values
quantize Quantize fixed-point numbers
bin Binary representation of stored integer of fi object
dec Unsigned decimal representation of stored integer of fi object
double Double-precision floating-point real-world value of fi object
hex Hexadecimal representation of stored integer of fi object
removefimath Remove fimath object from fi object
setfimath Attach fimath object to fi object
globalfimath Configure global fimath and return handle object
removeglobalfimathpref Remove global fimath preference
resetglobalfimath Set global fimath to MATLAB factory default
storedInteger Stored integer value of fi object
storedIntegerToDouble Convert stored integer value of fi object to built-in double value

Classes

embedded.fi Fixed-point numeric object
embedded.fimath fimath object
embedded.numerictype numerictype object
Was this topic helpful?