fi
and numerictype
for
fixed-point data creationYou can create fixed-point data using the Fixed-Point Designer™
fi
object. Within the fi
constructor, you can specify numerictype
and
fimath
properties. Each
fi
object has an associated
numerictype
object. The
numerictype
object stores information about
the fi
object including word length, fraction
length, and signedness. The numerictype
object
is equivalent to the fixdt
object in
Simulink®.
numerictype | Construct an embedded.numerictype object describing fixed-point
or floating-point data type |
Create Fixed-Point Data in MATLAB
Fixed point basics.
Perform Fixed-Point Arithmetic
Performing fixed-point arithmetic.
fi
object display settings used in code examples.
Creation of fi
objects.
Fixed-Point Versus Built-in Integer Types
Differences between fixed-point data types and built-in integer data types in MATLAB®.
Functions that operate directly on fi
objects.
Defines the fi
object properties.
Creation of fimath
objects.
Properties and property settings associated with fimath
objects.
fimath Properties Usage for Fixed-Point Arithmetic
Fixed-point arithmetic using fimath
objects to control the
results.
fimath for Sharing Arithmetic Rules
Using a fimath
object to share modular arithmetic
information among multiple fi
objects.
fimath for Rounding and Overflow Modes
Order setting for overflow action and rounding method.
fimath ProductMode and SumMode
Differences among the different settings of the ProductMode
and SumMode
properties.
Functions that ignore or discard fimath
.
fi Object Display Preferences Using fipref
Examples of using fipref
objects to set display preferences
for fi
objects.
Data Type Override Preferences Using fipref
Data type override using the fipref
object.
Underflow and Overflow Logging Using fipref
Examples of using fipref
objects to set logging preferences
for fi
objects.
numerictype Object Construction
Construction of numerictype
objects.
Properties and property settings associated with numerictype
objects.
numerictype of Fixed-Point Objects
Fields and settings for the numerictype
object.
numerictype Objects Usage to Share Data Type and Scaling Settings of fi objects
Example of using a numerictype
object to share modular data type
and scaling information among multiple fi
objects.
Fixed-Point Design Exploration in Parallel
This example shows how to explore and test fixed-point designs by distributing tests across many computers in parallel.
Acquire real-time images from a webcam, process the images using fixed-point blob analysis, and determine world coordinates to score target practice using a laser pistol
Resolve Error: Mismatched fimath
Troubleshoot mismatched fimath
errors.
Resolve Error: Data Type Mismatch
Troubleshoot data type mismatch errors.
Troubleshoot fi*
non-fi
errors.
fi Constructor Does Not Follow globalfimath Rules
Troubleshoot getting the fi
constructor to follow
globalfimath
rules.