|Generate compiled C code function including logging instrumentation|
|Results logged by instrumented, compiled C code function|
|Clear results logged by instrumented, compiled C code function|
|Construct fixed-point numeric object|
|Set fixed-point math settings|
|Construct an |
|Create array of all zeros with fixed-point properties|
|Create array of all ones with fixed-point properties|
|Cast variable to different data type|
|Cast 64-bit integer types to an equivalent |
|Cast fi object to equivalent integer data type|
|Cast an integer data type to equivalent |
Manually convert floating-point MATLAB algorithm to fixed point.
This example shows how to convert a version of the Fast Fourier Transform (FFT) algorithm into fixed-point MATLAB code.
This example shows how to analyze a fixed-point state-space system to detect limit cycles.
This example shows how to compute and compare the statistics of the signal quantization error when using various rounding methods.
Learn more about the different fixed-point conversion methods. The conversion method you use depends on your end goal and your level of fixed-point expertise.
Overview of workflow for manual float-to-fixed conversion.
These best practices help you get from generic MATLAB® code to an efficient fixed-point implementation using the manual fixed-point conversion workflow.
Describes benefits of each conversion workflow to help you decide which one best fits your needs.
Determine which functions are supported for fixed-point conversion.
Troubleshoot functions that are not supported for fixed-point conversion.
Troubleshoot data type mismatch errors.