Running a simulation with a specified number of bits of precision
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Walter Roberson
on 11 Jul 2019
Not exactly. However, you can use Fixed Point Toolbox to create 16 bit objects with various properties.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!