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

20 views (last 30 days)
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.

Accepted Answer

Steven Lord
Steven Lord on 20 Jun 2020
See this documentation page for a discussion of the various timing functions.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!