Index of Examples


Use this example index to jump to code examples in the documentation.

Getting Started

Converting from Doubles to Fixed-Point

Data Types and Scaling

Fixed-Point Format
Fixed-Point Scaling

Arithmetic Operations

Rounding to Zero Versus Truncation
Limitations on Precision and Errors
Maximizing Precision
Saturation and Wrapping
Limitations on Range
The Summation Process
The Multiplication Process
The Division Process
Conversions and Arithmetic Operations

Feedback Controller Simulation

Simulink Model of a Feedback Design

Code Generation

Generating Pure Integer Code