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
-
Give the Shortest Path Through The Maze
61 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
653 Solvers
-
Find out the Gray Code for a Given Binary Number
121 Solvers
-
12 Solvers
-
Why the heck are they blinking!?!?
41 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!