在我的程序中(在 matlab 中)我有两个 for 循环,我想对这些循环使用并行计算:
#loop a
for i=1:120000
using var2(from the previous iteration (loop b)) and do something
and make var1
end;
#loop b
for j=1:120000
using var1(from the previous iteration(loop a)) and do something
and make var2
end;
我的电脑是双核的。谁能帮帮我?