Loop with Fixed time
Show older comments
How can I make the loop with fixed time?
For example:
for i=1:5
somecode;
end
I want to make every calculation time of the loop is about 1 sec And the total calculation time is about 5 sec
Accepted Answer
More Answers (0)
Categories
Find more on Clocks and Timers 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!