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

3 visualizzazioni (ultimi 30 giorni)
Matlab, Simulink, floating point operation.
  2 Commenti
KALYAN ACHARJYA
KALYAN ACHARJYA il 19 Apr 2018
Read Here
https://in.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html
Walter Roberson
Walter Roberson il 19 Apr 2018
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

Accedi per commentare.

Risposte (1)

Walter Roberson
Walter Roberson il 19 Apr 2018
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.

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