Floating-Point to Fixed-Point Conversion
You can convert floating-point algorithms in DSP System Toolbox™ to fixed-point using these tools:
Fixed-Point Converter (Fixed-Point Designer) App for MATLAB® algorithms
Fixed-Point Tool (Fixed-Point Designer) for Simulink® models
These two features require the Fixed-Point Designer™ product.
For a list of DSP System Toolbox System objects that support floating-point to fixed-point conversion, see System Objects Supported by Fixed-Point Converter App. For a list of blocks that support the Iterative Fixed-Point Conversion in Simulink (Fixed-Point Designer), see Simulink Blocks in DSP System Toolbox that Support Iterative Fixed-Point Conversion Workflow.
Topics
- System Objects Supported by Fixed-Point Converter App
Use the Fixed-Point Converter app to automatically propose and apply data types for commonly used system objects.
- Simulink Blocks in DSP System Toolbox that Support Iterative Fixed-Point Conversion Workflow
This sections lists the simulink blocks in DSP System Toolbox which support iterative fixed-point conversion workflow.
- Convert dsp.FIRFilter Object to Fixed-Point Using the Fixed-Point Converter App
Convert a
dsp.FIRFilter
System object™, which filters a high-frequency sinusoid signal, to fixed-point using the Fixed-Point Converter app. - Specify Fixed-Point Attributes for Blocks
Teaches you how to specify fixed-point attributes and parameters in software on both the block and system levels.
- Convert Floating-Point Model to Fixed Point (Fixed-Point Designer)
Use the Fixed-Point Tool to convert a floating-point model to fixed point.
- Iterative Fixed-Point Conversion in Simulink (Fixed-Point Designer)
Floating-point model conversion to fixed point using a guided workflow