Is it possible to run multiple parfor loops successively like in the following example:
A = zeros(4, 10);parfor i = 1:4 for j = 1:10 if j < 6 A(i, j) = i + j; else A(i, j) = pi; end endendB = zeros(4, 10);parfor i = 1:4 for j = 1:10 if j < 4 B(i, j) = i ; else B(i, j) = 2*pi; end endend
Best Answer