How is the number of floating point operations calculated in Matlab / Simulink?

2 次查看(过去 30 天)
Matlab, Simulink, floating point operation.
  2 个评论
Walter Roberson
Walter Roberson 2018-4-19
That describes what floating point numbers are, but has nothing to do with calculating the number of floating point operations that have occurred. https://en.wikipedia.org/wiki/FLOPS

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2018-4-19
MATLAB and Simulink do not calculate the number of floating point operations.
If there is any exception to this, it would be in the modeling of timing for HDL/VHDL/FPGA -- and those tend to generate fixed-point operations rather than floating point operations. Those also tend to work in parallel, generating individual adder circuits and so on that can all work at the same time, rather than using a CPU for which floating point operations counts might be meaningful.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by