Main Content

fi Properties

Data properties of the fi object

The fi object has three types of properties: data properties, fimath properties, and numerictype properties. Use data properties to access data in a fi object using dot notation. The data properties of a fi object are always writable.

Data Properties

expand all

Stored integer value of fi object in binary, specified as a character vector.

Data Types: char

Real-world value of fi object, specified as a double.

Data Types: char

Stored integer value of fi object in decimal, specified as a character vector.

Data Types: char

Real-world value of fi object, specified as a double.

Data Types: char

Stored integer value of fi object in hexadecimal, specified as a character vector.

Data Types: char

Stored integer value of fi object specified as a built-in MATLAB® integer data type.

If a fi object is signed, the stored integer has one of the following data types: int8, int16, int32, int64, or double. If a fi object is unsigned, the stored integer has one of the following data types: uint8, uint16, uint32, uint64, or double.

The size of the stored integer's data type depends on the word length of the fi object.

  • int8 or uint8 - fi objects with word lengths from 1 to 8

  • int16 or uint16 - fi objects with word lengths from 9 to 16

  • int32 or uint32 - fi objects with word lengths from 17 to 32

  • int64 or uint64 - fi objects with word lengths from 33 to 64

  • double - fi objects with word lengths that exceed 64 bits

Data Types: double | int8 | int16 | int32 | int64 | uint8 | uint16 | uint32 | uint64

Stored integer value of fi object in octal, specified as a character vector.

Data Types: char

Full-precision real-world value of fi object, stored as a character vector.

Note

Specifying the Value property in the fi constructor uses the default RoundingMode and OverflowAction regardless of globalfimath settings. For more information, see fi Constructor Does Not Follow globalfimath Rules.

Data Types: char

Version History

Introduced before R2006a

See Also