When Should a User Use timeit, cputime, or tic toc?

50 ビュー (過去 30 日間)
Kareem Elgindy
Kareem Elgindy 2020 年 6 月 20 日
回答済み: Steven Lord 2020 年 6 月 20 日
I typically try to compare execution times between various algorithms in my research, so learning about this matter could be very helpful for more trusted results.


Steven Lord
Steven Lord 2020 年 6 月 20 日
See this documentation page for a discussion of the various timing functions.

その他の回答 (0 件)


Find more on Migrate GUIDE Apps in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by