calculation time in for loop
이전 댓글 표시
For example, when I doubled the number of loops, it is suposed that the computation time also doubled. However the computation time was less than twice.
The computation time for each loop has some variation, but as a whole, the later the loop, the shorter the computation time becomes.
the details of the program can't disclose for a number of reasons, but there's no factor that reduces the computation time which depends on the number of loops.
Is the "for loop" in MATLAB done some process behind the scenes to reduce the computation time?
Also, is there any way to check what kind of calculations are being made internally?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
