i have simple mat-lab algorithm and i would like to know how to calculate the speed of the algorithm?

 Akzeptierte Antwort

James Tursa
James Tursa am 13 Jun. 2017
Bearbeitet: James Tursa am 13 Jun. 2017

0 Stimmen

I would start with tic and toc. You could also use timeit.

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 13 Jun. 2017

0 Stimmen

You cannot. You can at best measure the speed of the implementation given those particular parameters, given whatever else the computer is doing at the same time (monitoring the mouse, checking for operating system updates, retrying to send the email messages stuck in the queue...)

Kategorien

Mehr zu Parallel Computing Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by