Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

溢出和精度损失检测

调试溢出和精度损失的来源,并与浮点行为进行比较

识别、跟踪和调试溢出、精度损失以及范围或精度浪费的来源。将嵌入式实现与理想浮点行为进行比较。

App

参数量化顾问检查与参数量化相关的数值问题 (自 R2022b 起)

函数

fixed.unifiedErrorCalculator.absoluteErrorAbsolute error of two numeric inputs (自 R2023b 起)
fixed.unifiedErrorCalculator.bitsOfErrorBits of error of two numeric inputs (自 R2023b 起)
fixed.unifiedErrorCalculator.relativeAbsoluteErrorRelative absolute error of two numeric inputs (自 R2023b 起)

主题

MATLAB

Simulink