MATLAB Answers

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

20 views (last 30 days)
Kareem Elgindy
Kareem Elgindy on 20 Jun 2020
Answered: Steven Lord on 20 Jun 2020
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.

  0 Comments

Sign in to comment.

Accepted Answer

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

  0 Comments

Sign in to comment.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!