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

24 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by