How to keep precision of Math Operations?
7 次查看(过去 30 天)
显示 更早的评论
Hi,
I am working with pressure and temprature sensor values in a Simulink project where I need to have higher precision than the one I am getting now which is just only two decimal points. How can I increase precision of the output from basic Math operations such as +-%* blocks. I keep getting two decimal points even if I change the output data type of the blocks to double.
Thanks in advance for the help.
0 个评论
回答(3 个)
Henok Mentamo
2014-10-1
1 个评论
Stephen23
2014-10-1
Is this an answer to your own question? Please use the comments under the question text.
Iain
2014-10-1
You are probably getting more than 2 decimal places of "accuracy". You're probably getting 15 or 16 significant figures worth of accuracy, but only displaying 2 decimal places...
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!