How to execute for-loop iterations in parallel
조회 수: 1 (최근 30일)
I want to implement parfor to speed up the calculation but I am facing errors.
How can I implement parfor for the following for loop:
I have a 3D matrix X (DIM: mxnxp)
[x,y,z]=ind2sub([m n p],trues(i,1))
if (condition true)
Is there any other way I can speed up and optimize execution?