How can we plot time taken for execution of matlab ?

3 visualizaciones (últimos 30 días)
Aditya
Aditya el 18 de Feb. de 2014
Editada: Walter Roberson el 18 de Feb. de 2014
How can we plot time taken for execution of matlab ?

Respuestas (1)

Walter Roberson
Walter Roberson el 18 de Feb. de 2014
Editada: Walter Roberson el 18 de Feb. de 2014
tic
for K = 1 : 1000
... do whatever here
toctime(K) = toc;
end
plot(toctime)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by