Konvertieren von Gleitkomma zu Festkomma
Mithilfe der folgenden Tools können Sie Gleitkomma-Algorithmen in DSP System Toolbox™ in Festkomma-Algorithmen konvertieren:
Fixed-Point Converter (Fixed-Point Designer) App für MATLAB® Algorithmen
Fixed-Point Tool (Fixed-Point Designer) für Simulink® Modelle
Diese zwei Funktionen erfordern das Produkt Fixed-Point Designer™.
Eine Liste der DSP System Toolbox System objects, die eine Konvertierung von Gleitkomma zu Festkomma unterstützen, finden Sie unter System Objects Supported by Fixed-Point Converter App. Eine Liste der Blöcke, die Iterative Fixed-Point Conversion in Simulink (Fixed-Point Designer) unterstützen, finden Sie unter Simulink Blocks in DSP System Toolbox that Support Iterative Fixed-Point Conversion Workflow.
Themen
- 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