Clear Filters
Clear Filters

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)

Tags

Community Treasure Hunt

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

Start Hunting!