How can we plot time taken for execution of matlab ?
2 views (last 30 days)
Show older comments
How can we plot time taken for execution of matlab ?
0 Comments
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)
0 Comments
See Also
Categories
Find more on Annotations 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!