Documentation Center

  • Trial Software
  • Product Updates

Contents

Algorithm Conversion

Floating-point algorithm to fixed-point algorithm conversion

Start Here

There are several different ways that you can convert your floating-point algorithms to fixed point. To learn about the differences between these methods and when to use them, see Fixed-Point Conversion Workflows.

Functions

buildInstrumentedMex Generate compiled C code function including logging instrumentation
showInstrumentationResults Results logged by instrumented, compiled C code function
clearInstrumentationResults Clear results logged by instrumented, compiled C code function
fi Construct fixed-point numeric object
fimath Set fixed-point math settings
numerictype Construct numerictype object
zeros Create array of all zeros with fixed-point properties
ones Create array of all ones with fixed-point properties
cast Cast variable to different data type
Was this topic helpful?