How can we plot time taken for execution of matlab ?

3 次查看(过去 30 天)
How can we plot time taken for execution of matlab ?

回答(1 个)

Walter Roberson
Walter Roberson 2014-2-18
编辑:Walter Roberson 2014-2-18
tic
for K = 1 : 1000
... do whatever here
toctime(K) = toc;
end
plot(toctime)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by