Running a simulation with a specified number of bits of precision

3 visualizzazioni (ultimi 30 giorni)
Hello,
Is there a way to specify the precision that I want MATLAB to use when performing calculations and simulations. In particular, I would like to dictate that I want all calculations and simulations to be performe with 16 bits of precision within my code. I am not just talking about the output precision (unless they are one and the same). I want all calculations over course of the internal calculations MATLAB is performing to be done with 16 bits of precision. Is there a command to do so?
Thank you.

Risposte (1)

Walter Roberson
Walter Roberson il 11 Lug 2019
Not exactly. However, you can use Fixed Point Toolbox to create 16 bit objects with various properties.

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by