How can we plot time taken for execution of matlab ?

Answers (1)

tic
for K = 1 : 1000
... do whatever here
toctime(K) = toc;
end
plot(toctime)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Asked:

on 18 Feb 2014

Edited:

on 18 Feb 2014

Community Treasure Hunt

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

Start Hunting!