Problem 52557. Undocumented MATLAB tricks No. 2 - Tell the parfor index
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 commentsProblem Recent Solvers2
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1697 Solvers
-
51 Solvers
-
1503 Solvers
-
PACMAT - Ghosts maximize unique locations; 3 Lives
9 Solvers
-
LASER Tracker - Mirror Distance and Angle
31 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!