The properties associated with fi
objects are described in the
following sections in alphabetical order.
You can set these properties when you create a fi
object. For example,
to set the stored integer value of a fi
object:
x = fi(0,true,16,15,'int',4);
Note
The fimath
properties and numerictype
properties
are also properties of the fi
object. Refer to fimath Object Properties and numerictype Object Properties for
more information.
Stored integer value of a fi
object in binary.
Numerical real-world value of a fi
object.
Stored integer value of a fi
object in decimal.
Real-world value of a fi
object stored as a MATLAB®
double
.
fimath
properties associated with a fi
object.
fimath
properties determine the rules for performing fixed-point
arithmetic operations on fi
objects. fi
objects
get their fimath
properties from a local fimath
object or from default values. The factory-default fimath values have the following
settings:
RoundingMethod: Nearest OverflowAction: Saturate ProductMode: FullPrecision SumMode: FullPrecision
To learn more about fimath
objects, refer to fimath Object Construction. For more information about each of the
fimath
object properties, refer to fimath Object Properties.
Stored integer value of a fi
object in hexadecimal.
Stored integer value of a fi
object, stored in a built-in
MATLAB integer data type.
The numerictype
object contains all the data type and scaling
attributes of a fixed-point object. The numerictype
object behaves
like any MATLAB structure, except that it only lets you set valid values for defined
fields. For a table of the possible settings of each field of the structure, see Valid Values for numerictype Object Properties in the Fixed-Point Designer™ User's Guide.
Note
You cannot change the numerictype
properties of a
fi
object after fi
object creation.
Stored integer value of a fi
object in octal.
Full-precision real world value of a fi
object, stored as a
character vector.