Display elapsed time on the x-axis
2 views (last 30 days)
Show older comments
I want to indicate what values an array with a specific value (throughput performance) that exists within the loop will have over time.
How to express the x-axis as execution time or elapsed time through tic, toc function, or other methods?
The structure I think is below, but it doesn't seem to be the solution I want.
...
tic;
for i = 1:1:user_defined_num
toc;
end
plot(1:toc,ave_throughput_array)
...
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical 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!