Your function is called in multiple for-loops, and the loop indices are given to your function. One of these indices are from a parfor loop. Can you find which one is the parfor loop index?
There are more than one ways, however you may need some undocumented MATLAB tricks to find the best solution of size 25.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Numbers with prime factors 2, 3 and 5.
683 Solvers
-
Lychrel Number Test (Inspired by Project Euler Problem 55)
118 Solvers
-
Find the optimal shape to bring the maximum product by a given perimeter
45 Solvers
-
Count consecutive 0's in between values of 1
546 Solvers
-
6303 Solvers
More from this Author14
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!