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 Solvers2
Suggested Problems
-
313 Solvers
-
Rotate and display numbered tile
377 Solvers
-
Check if a matrix is a palindrome in all directions
131 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2136 Solvers
-
Number of Even Elements in Fibonacci Sequence
1633 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!