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 Solvers3
Suggested Problems
-
Are all the three given point in the same line?
607 Solvers
-
Calculate the area of a triangle between three points
3535 Solvers
-
1243 Solvers
-
Create logical matrix with a specific row and column sums
349 Solvers
-
Back to basics - mean of corner elements of a matrix
467 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!