How can we plot time taken for execution of matlab ?
Show older comments
How can we plot time taken for execution of matlab ?
Answers (1)
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 Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!