How is the number of floating point operations calculated in Matlab / Simulink?
2 次查看(过去 30 天)
显示 更早的评论
Matlab, Simulink, floating point operation.
2 个评论
KALYAN ACHARJYA
2018-4-19
Read Here
https://in.mathworks.com/help/matlab/matlab_prog/floating-point-numbers.html
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
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!