Vectorizing a parallel FOR loop across multiple dimensions MATLAB
问题 Please correct me if there are somethings unclear in this question. I have two matrices pop , and ben of 3 dimensions. Call these dimensions as c,t,w . I want to repeat the exact same process I describe below for all of the c dimensions, without using a for loop as that is slow. For the discussion below, fix a value of the dimension c , to explain my thinking, later I will give a MWE. So when c is fixed I have a 2D matrix with dimension t,w . Now I repeat the entire process (coming below!)