How can we plot time taken for execution of matlab ?

3 views (last 30 days)
How can we plot time taken for execution of matlab ?

Answers (1)

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

Categories

Find more on Graphics Objects in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!