Is it normal for a code with 2 nested for loops to run for more than 2 hours ?
1 view (last 30 days)
Show older comments
Shounak Shastri
on 30 Mar 2014
Commented: Shounak Shastri
on 30 Mar 2014
I have a color image and I am using two for loops to separate pixel pairs. Its been running for the past 2 hours. Is it normal ? I have made sure there are no infinite loops.
0 Comments
Accepted Answer
Azzi Abdelmalek
on 30 Mar 2014
That depends on the number of iterations and the task done each iteration. You didn't give enough details
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements 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!